readShort

fun Buffer.readShort(): Short

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

inline fun IoBuffer.readShort(): Short

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

fun Input.readShort(byteOrder: ByteOrder): Short
fun Input.readShort(): Short