Function encodeObj

  • encodeObj takes a javascript object and returns its msgpack encoding Note that the encoding sorts the fields alphabetically

    Returns

    Uint8Array binary representation

    Parameters

    • o: Record<string | number | symbol, any>

      js obj

    Returns Uint8Array

Generated using TypeDoc