sendfile#

barecat.BarecatReadOnlyFileObject.sendfile(out_fd, offset=0, count=None)[source]#

Send bytes from the section to a file descriptor.

Parameters:
  • out_fd – destination file descriptor

  • offset – offset within the section to start sending from

  • count – number of bytes to send, or None to send until the end of the section