readUShort

fun Buffer.readUShort(): UShort

Read an unsigned short integer or fail if not enough bytes available for reading. The numeric value is decoded in the network order (Big Endian).


inline fun IoBuffer.readUShort(): UShort
inline fun Input.readUShort(): UShort