public void append(ReadIteratorT it, int size) { while (size > 0 && it.isData()) { int avail = it.directlyAvailableSize(); int toRead = Math.Min(size, avail); byte[] sp = it.read(toRead); append(sp); size -= sp.Length; } }
public void parseReal(out double num) { byte[] arr = riter.read(8); num = BitConverter.ToDouble(arr, 0); }