Function numberToBinUintLE

  • Encode a positive integer as a little-endian Uint8Array. For values exceeding Number.MAX_SAFE_INTEGER (9007199254740991), use bigIntToBinUintLE.

    Negative values will return the same result as 0.

    For the reverse, see binToNumberUintLE.

    Parameters

    • value: number

      the number to encode

    Returns Uint8Array

Generated using TypeDoc