Class VarIntCoder

All Implemented Interfaces:
Serializable

public class VarIntCoder extends AtomicCoder<Integer>
A Coder that encodes Integers using between 1 and 5 bytes. Negative numbers always take 5 bytes, so BigEndianIntegerCoder may be preferable for integers that are known to often be large or negative.
See Also: