org.mapdb / DataIO / packRecid

packRecid

static fun packRecid(out: DataOutput2, value: Long): Unit

Pack RECID into output stream with 3 bit checksum. It will occupy 1-10 bytes depending on value (lower values occupy smaller space)

Parameters

out - String to put value into

value - to be serialized, must be non-negative

Exceptions

java.io.IOException - in case of IO error