Function binToNumberUint16LE

  • Decode a 2-byte Uint16LE Uint8Array into a number.

    Throws if bin is shorter than 2 bytes.

    For the reverse, see numberToBinUint16LE.

    Parameters

    • bin: Uint8Array

      the Uint8Array to decode

    Returns number

Generated using TypeDoc