ReaderIterator

interface ReaderIterator

Run-once iterator interface, to decode previously saved PackedInts.

Properties

Link copied to clipboard
abstract val bitsPerValue: Int

Returns number of bits per value

Functions

Link copied to clipboard
abstract fun next(): Long

Returns next value

abstract fun next(count: Int): LongsRef

Returns at least 1 and at most count next values, the returned ref MUST NOT be modified

Link copied to clipboard
abstract fun ord(): Int

Returns the current position

Link copied to clipboard
abstract fun size(): Int

Returns number of values