Class DataInputBuffer

    • Constructor Detail

      • DataInputBuffer

        public DataInputBuffer()
        Constructs a new empty buffer.
    • Method Detail

      • reset

        public void reset​(byte[] input,
                          int length)
        Resets the data that the buffer reads.
      • reset

        public void reset​(byte[] input,
                          int start,
                          int length)
        Resets the data that the buffer reads.
      • getData

        public byte[] getData()
      • getPosition

        public int getPosition()
        Returns the current position in the input.
      • getLength

        public int getLength()
        Returns the length of the input.