public PagedBytesDataInput getDataInput() {if (!frozen) {throw new IllegalStateException("must call freeze() before getDataInput");}return new PagedBytesDataInput();}
public PagedBytesDataInput GetDataInput(){if (!frozen){throw new InvalidOperationException("must call Freeze() before GetDataInput()");}return new PagedBytesDataInput(this);}