@Override
  public byte readByte()
      throws EOFException {
    if (availableLong() < 1) {
      throw new EOFException();
    }
    return _dataBuffer.getByte(_currentOffset++);
  }
@Test
  void testReadByte()
      throws EOFException {
    int read = _dataBufferPinotInputStream.readByte();

    assertEquals(read, _byteBuffer.get(0) & 0xFF);
    assertEquals(_dataBufferPinotInputStream.getCurrentOffset(), 1);
  }