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

readLong

fun readLong(bytes: Int, signed: Boolean, byteOrder: ByteOrder): 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 -

fun readLong(byteOrder: ByteOrder): Long

Reads Long from the stream with specified byteOrder.

Exceptions

EOFException -