binary-streams / loggersoft.kotlin.streams / StreamInput / readLong

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.

Exceptions

EOFException -

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

Reads Long from the stream with specified byteOrder.

Exceptions

EOFException -