readLong

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


inline fun ChunkBuffer.readLong(): Long
fun Input.readLong(byteOrder: ByteOrder): Long