@Override
    public int getInt(long offsetInFile) throws IOException {
      ByteBuffer buffer = storage.pageByOffset(offsetInFile).rawPageBuffer();
      int offsetInPage = storage.toOffsetInPage(offsetInFile);
      return buffer.getInt(offsetInPage);
    }
@Override
    public int getInt(long offsetInFile)