Class LongZigzagEncoder


  • public class LongZigzagEncoder
    extends Encoder
    Encoder for long value using Zigzag . For more information, see https://gist.github.com/mfuerstenau/ba870a29e16536fdbaba
    • Constructor Detail

      • LongZigzagEncoder

        public LongZigzagEncoder()
    • Method Detail

      • print

        public static String print​(byte[] bytes)
      • getMaxByteSize

        public long getMaxByteSize()
        Description copied from class: Encoder
        The maximal possible memory size occupied by current Encoder. This statistic value doesn't involve OutputStream.
        Overrides:
        getMaxByteSize in class Encoder
        Returns:
        the maximal size of possible memory occupied by current encoder