@Override
    public ByteBuffer read() {
      int header = readHeader();
      int committedCursor = unpackCommittedCursor(header);
      return pageBuffer
        .slice(offsetInBuffer + OFFSET_PAYLOAD, committedCursor)
        .asReadOnlyBuffer()
        .order(pageBuffer.order());
    }
@Override
    public ByteBuffer read()