@Override
  public boolean readBoolean()
      throws EOFException {
    if (_currentOffset >= _dataBuffer.size()) {
      throw new EOFException();
    }
    return _dataBuffer.getByte(_currentOffset++) != 0;
  }
@Test
  void testReadBoolean()
      throws EOFException {
    boolean read = _dataBufferPinotInputStream.readBoolean();

    assertEquals(read, _byteBuffer.get(0) != 0);
    assertEquals(_dataBufferPinotInputStream.getCurrentOffset(), 1);
  }