@Override
  public boolean isEmpty() {
    return firstUnAllocatedOffset() == HeaderLayout.HEADER_SIZE
           && firstUnCommittedOffset() == HeaderLayout.HEADER_SIZE;
  }
@Override
  public boolean isEmpty()