@Override
    public boolean isFull() {
      int header = readHeader();
      int allocatedCursor = unpackAllocatedCursor(header);
      return allocatedCursor == capacity();
    }
@Override
    public boolean isFull()