Companion

object Companion

Properties

Functions

Link copied to clipboard
fun bitsRequired(maxValue: Long): Int

Returns how many bits are required to hold values up to and including maxValue

Link copied to clipboard
fun getInstance(output: DataOutput, numValues: Long, bitsPerValue: Int): DirectWriter

Returns an instance suitable for encoding numValues using bitsPerValue

Link copied to clipboard
fun unsignedBitsRequired(maxValue: Long): Int

Returns how many bits are required to hold values up to and including maxValue, interpreted as an unsigned value.