org.mapdb / DataIO / unpackInt

unpackInt

static fun unpackInt(is: DataInput): Int

Unpack int value from the input stream.

Parameters

is - The input stream.

Exceptions

java.io.IOException - in case of IO error

Return
The long value.



static fun unpackInt(in: InputStream): Int

Unpack int value from the input stream.

Parameters

in - The input stream.

Exceptions

java.io.IOException - in case of IO error

Return
The long value.



static fun unpackInt(buf: ByteArray, pos: Int): Int