@Override
  public long readLong()
      throws EOFException {
    if (availableLong() < 8) {
      throw new EOFException();
    }
    long result = _dataBuffer.getLong(_currentOffset);
    _currentOffset += 8;
    return result;
  }
@Test
  void testReadLong()
      throws EOFException {
    long read = _dataBufferPinotInputStream.readLong();

    assertEquals(read, _byteBuffer.getLong(0));
    assertEquals(_dataBufferPinotInputStream.getCurrentOffset(), Long.BYTES);
  }