public PagedBytesDataOutput getDataOutput() {if (frozen) {throw new IllegalStateException("cannot get DataOutput after freeze()");}return new PagedBytesDataOutput();}
public PagedBytesDataOutput GetDataOutput(){if (frozen){throw new InvalidOperationException("cannot get DataOutput after Freeze()");}return new PagedBytesDataOutput(this);}