org.mapdb.volume / Volume / getPackedLong

getPackedLong

open fun getPackedLong(position: Long): Long

Unpack long value from the Volume. Highest 4 bits reused to indicate number of bytes read from Volume. One can use result & DataIO.PACK_LONG_RESULT_MASK to remove size;

Parameters

position - to read value from

Return
The long value, minus highest byte