Marmot-TS
    Preparing search index...

    Class BinaryWriter

    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

    Core - Binary Encoding

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

      Parameters

      • value: Uint8Array
      • Optionalbounds: OpaqueBounds

      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

    Other