this.size = sum;
this.annotator = new Annotator() {
@Override
public Annotator createSubAnnotator(long offset) {
return new OffsetAnnotator(offset, this);
}
@Override
public void annotate(long pos, int length, String text, Object... value) {
ChainedArrayDataInput.this.annotateChained(pos, length, text, value);
}