bytesparse.io#

Streaming utilities.

Attributes

SEEK_SET

Seek from the beginning of the stream (position 0).

SEEK_CUR

Seek from the current stream position (MemoryIO.tell()).

SEEK_END

Seek from the end of the underlying memory object (ImmutableMemory.endex()).

SEEK_DATA

Seek to the next data block.

SEEK_HOLE

Seek to the next memory hole.

Classes

MemoryIO

Buffered I/O wrapper.