readShort

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


fun Input.readShort(byteOrder: ByteOrder): Short