@Override
    public boolean nextChunkId(long nextChunkId) {
      if (!hasNextChunkIdField()) {
        throw new IllegalStateException("Chunk doesn't have .nextChunkId field reserved at creation");
      }
      int offset = offsetInBuffer + chunkLength - NEXT_CHUNK_ID_SIZE;
      return INT64_OVER_BYTE_BUFFER.compareAndSet(pageBuffer, offset, 0L, nextChunkId);
    }
@Override
    public boolean nextChunkId(long nextChunkId)