Class IntDiffEncoder

  • All Implemented Interfaces:
    IntWriteEncoder

    public class IntDiffEncoder
    extends Encoder
    implements IntWriteEncoder
    Basic diff encoder using variable length encoding. Encodes the values [3, 1100, 1101, 1050, 0] to [3, 1097, 1, -51, -1050] using writeVarInt.
    • Constructor Detail

      • IntDiffEncoder

        public IntDiffEncoder​(int start)