Companion

object Companion

Properties

Functions

Link copied to clipboard
Link copied to clipboard
fun writeVInt15(out: DataOutput, v: Int)

Special vints that are encoded on 2 bytes if they require 15 bits or less. VInt becomes especially slow when the number of bytes is variable, so this special layout helps in the case when the number likely requires 15 bits or less

Link copied to clipboard