read#

barecat.BarecatReadOnlyFileObject.read(size=-1)[source]#

Read a from the section, starting from the current position.

Parameters:

size (int) – number of bytes to read, or -1 to read until the end of the section

Returns:

Bytes read from the section.

Return type:

bytes