@Override
    public @NotNull ByteBuffer slice(long offsetInFile,
                                     int length) throws IOException {
      ByteBuffer buffer = storage.pageByOffset(offsetInFile).rawPageBuffer();
      int offsetInPage = storage.toOffsetInPage(offsetInFile);
      return buffer.slice(offsetInPage, length)
        .order(buffer.order());
    }
@Override
    public @NotNull ByteBuffer slice(long offsetInFile,
                                     int length)