public int dataSize() { int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt); for (RangeTombstone r : ranges) { size += r.min.remaining() + r.max.remaining(); size += TypeSizes.NATIVE.sizeof(r.data.markedForDeleteAt); } return size; }
public int dataSize() { int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt); return size + (ranges == null ? 0 : ranges.dataSize()); }