Creates a byte stream over the given buffer.
Chunk payload bytes.
Alignment size in bytes. Defaults to 4.
Indicates whether unread bytes remain in the buffer.
Gets the current read cursor in bytes.
Reads a null-terminated single-byte string and advances to the next aligned offset.
TextDecoder label for the string bytes. Defaults to
'utf-8'.
The decoded string without the terminating zero byte.
AcDbProxyGraphicEndOfBufferError When no zero terminator is found.
Reads a null-terminated UTF-16LE string and advances to the next aligned offset.
The decoded Unicode string without the terminating 0x0000
code unit pair.
AcDbProxyGraphicEndOfBufferError When no zero terminator is found.
Reads one little-endian 32-bit signed integer.
The decoded signed long.
AcDbProxyGraphicEndOfBufferError When the buffer ends before four bytes are available.
Reads a composite struct of little-endian numeric fields.
Supported field sizes are 4 (uint32) and 8 (float64).
Byte width of each field in order.
The decoded numeric values.
AcDbProxyGraphicEndOfBufferError When the buffer ends before the struct can be read.
Sequential little-endian byte reader for aligned proxy-graphic records.
Reads fixed-size numeric fields and null-terminated strings from a chunk payload. After each multi-byte read the cursor is advanced to the next 4-byte-aligned offset, matching the ODA proxy-graphic layout.