readUShort

fun Buffer.readUShort(): <ERROR CLASS>

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(): <ERROR CLASS>

Deprecated: IoBuffer is deprecated. Use Memory or Input instead.

@ExperimentalUnsignedTypes inline fun Input.readUShort(): <ERROR CLASS>