readUShortLe

Removes two bytes from this source and returns an unsigned short integer composed of it according to the little-endian order.

Throws

when there are not enough data to read an unsigned short value.

when the source is closed.

when some I/O error occurs.

Samples