@Override
    public String toString() {
      int header = readHeader(pageBuffer, offsetInBuffer);
      return "Chunk[#" + id() + ", " + (isDataChunk() ? "data" : "padding") + "][" +
             (isDataChunk() ? "content: " + unpackCommittedCursor(header) + ".." + unpackAllocatedCursor(header) + " of " + capacity()
                            : "-") +
             "]{header: " + Integer.toHexString(header) + ", chunkLength: " + chunkLength + "}" +
             "{inFile: @" + offsetInFile + ", inPage: @" + offsetInBuffer + "}";
    }
@Override
    public String toString()