Decode a 2-byte Int16LE Uint8Array into a number.
Throws if bin is shorter than 2 bytes.
bin
For the reverse, see numberToBinInt16LE.
the Uint8Array to decode
Generated using TypeDoc
Decode a 2-byte Int16LE Uint8Array into a number.
Throws if
bin
is shorter than 2 bytes.For the reverse, see numberToBinInt16LE.