readLong

abstract fun readLong(    bytes: Int,     signed: Boolean = true,     byteOrder: ByteOrder = defaultByteOrder): BigInteger

Read integer value from the stream as BigInteger with specified bytes count and byteOrder. If signed is true the last bit interprets as a sign.

Throws


open fun readLong(byteOrder: ByteOrder = defaultByteOrder): Long

Reads Long from the stream with specified byteOrder.

Throws