Marmot-TS
    Preparing search index...

    Builds a byte string in the Marmot binary profile. Methods append in field order and return this for chaining; call BinaryWriter.build to materialize the bytes.

    Index
    • Materializes the accumulated bytes.

      Returns Uint8Array

    • Appends raw fixed bytes with no length prefix (opaque name[N]).

      Parameters

      • value: Uint8Array

      Returns this

    • Appends a variable-length byte string as a QUIC varint length prefix followed by the bytes (opaque name<min..max>).

      Parameters

      Returns this

    • Appends a big-endian uint16.

      Parameters

      • value: number

      Returns this

    • Appends a big-endian uint32.

      Parameters

      • value: number

      Returns this

    • Appends a big-endian uint64.

      Parameters

      • value: number | bigint

      Returns this

    • Appends a uint8.

      Parameters

      • value: number

      Returns this

    • Appends a QUIC variable-length integer.

      Parameters

      • value: number | bigint

      Returns this

    • Appends a list as a QUIC varint byte-length prefix followed by the concatenated item encodings (Type items<V>).

      Parameters

      • items: Uint8Array<ArrayBufferLike>[]
      • Optionalbounds: OpaqueBounds

      Returns this