Class RegularDataDecoder

    • Field Detail

      • readIntTotalCount

        protected int readIntTotalCount
        the first value in one pack.
      • nextReadIndex

        protected int nextReadIndex
      • packNum

        protected int packNum
        data number in this pack.
    • Constructor Detail

      • RegularDataDecoder

        public RegularDataDecoder()
    • Method Detail

      • readHeader

        protected abstract void readHeader​(java.nio.ByteBuffer buffer)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • allocateDataArray

        protected abstract void allocateDataArray()
      • readValue

        protected abstract void readValue​(int i)
      • hasNext

        public boolean hasNext​(java.nio.ByteBuffer buffer)
                        throws java.io.IOException
        Specified by:
        hasNext in class Decoder
        Throws:
        java.io.IOException