internal Reader(PagedBytes pagedBytes) { blocks = new byte[pagedBytes.blocks.Count][]; for (var i = 0; i < blocks.Length; i++) { blocks[i] = pagedBytes.blocks[i]; } blockEnds = new int[blocks.Length]; for (int i = 0; i < blockEnds.Length; i++) { blockEnds[i] = pagedBytes.blockEnd[i]; } blockBits = pagedBytes.blockBits; blockMask = pagedBytes.blockMask; blockSize = pagedBytes.blockSize; }
internal PagedBytesDataInput(PagedBytes outerInstance) { this.outerInstance = outerInstance; currentBlock = outerInstance.blocks[0]; }
public PagedBytesDataOutput(PagedBytes outerInstance) { this.outerInstance = outerInstance; }
public PagedBytesDataOutput(PagedBytes pagedBytes) { this.outerInstance = pagedBytes; }