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.

Constructors

Accessors

Methods

  • Reads a composite struct of little-endian numeric fields.

    Supported field sizes are 4 (uint32) and 8 (float64).

    Type Parameters

    • T extends number[]

      Tuple type describing the returned numeric array.

    Parameters

    • sizes: number[]

      Byte width of each field in order.

    Returns T

    The decoded numeric values.

    AcDbProxyGraphicEndOfBufferError When the buffer ends before the struct can be read.

    When an unsupported field size is requested.