• encode a sequential array of items.

    Example

    packSeq(["u4b", 0x12AB98], ["str", "hello"], ["bool", false]) === Uint8Array.of(0x00, 0x12, 0xAB, 0x98, 104, 101, 108, 108, 111, 0)
    

    Parameters

    • Rest ...items: [type: PrimitiveType, value: JSPrimitive, ...args: any[]][]

    Returns Uint8Array

Generated using TypeDoc