Function numberToBinUint16LEClamped

  • Encode a positive integer as a 2-byte Uint16LE Uint8Array, clamping the results – values exceeding 0xffff (65535) return the same result as 0xffff, negative values will return the same result as 0.

    Parameters

    • value: number

      the number to encode

    Returns Uint8Array

Generated using TypeDoc