IO#

Handling low-level I/O operations. Foundational layer of core. Includes structed read/write wrappers.

Base#

Extends IOBase to support struct-based I/O.

class StructIO[source]#

Bases: IOBase

Low-level binary I/O with structured packing/unpacking operations.

order: ByteOrder = '<'#
unicode_errors: str = 'replace'#

Streams#

Extends standard IO streams with struct-based I/O support.

class StructBytesIO(initial_bytes=b'')[source]#

Bases: BytesIO, StructIO

In-memory bytes buffer with structured binary operations.

class StructFileIO(file, mode='r', closefd=True, opener=None)[source]#

Bases: FileIO, StructIO

File-based I/O with structured binary operations.

property path: Path#
property filesize: int#
is_eof()[source]#
Return type:

bool