getEncoder

fun getEncoder(format: PackedInts.Format, version: Int, bitsPerValue: Int): PackedInts.Encoder

Get an Encoder.

Return

an encoder

Parameters

format

the format used to store packed ints

version

the compatibility version

bitsPerValue

the number of bits per value