• Encodes a number or bigint to a varint encoded Uint8Array.

    Parameters

    • data: number | bigint

      The data to encode

    Returns Uint8Array

    The varint encoded data as a Uint8Array

Generated using TypeDoc