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