public long getPointer() {if (currentBlock == null) {return 0;} else {return (numBlocks * ((long) blockSize)) + upto;}}
public long GetPointer(){if (currentBlock == null){return 0;}else{return (blocks.Count * ((long)blockSize)) + upto;}}