Class RegularDataDecoder.IntRegularDecoder

    • Constructor Detail

      • IntRegularDecoder

        public IntRegularDecoder()
    • Method Detail

      • readT

        protected int readT​(java.nio.ByteBuffer buffer)
        if there's no decoded data left, decode next pack into data.
        Parameters:
        buffer - ByteBuffer
        Returns:
        long value
      • loadWithBitmap

        protected int loadWithBitmap​(java.nio.ByteBuffer buffer)
        load the data with bitmap (when bitmap denote the element with false, load next element)
        Parameters:
        buffer -
        Returns:
        long value
      • loadIntBatch

        protected int loadIntBatch​(java.nio.ByteBuffer buffer)
        if remaining data has been run out, load next pack from InputStream.
        Parameters:
        buffer - ByteBuffer
        Returns:
        int value
      • readInt

        public int readInt​(java.nio.ByteBuffer buffer)
        Overrides:
        readInt in class Decoder
      • reset

        public void reset()
        Specified by:
        reset in class Decoder