Function binToNumberInt16LE

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

    Throws if bin is shorter than 2 bytes.

    For the reverse, see numberToBinInt16LE.

    Parameters

    • bin: Uint8Array

      the Uint8Array to decode

    Returns number

Generated using TypeDoc