readInt

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


inline fun ChunkBuffer.readInt(): Int
fun Input.readInt(byteOrder: ByteOrder): Int