public override int ReadByte() { int b = stream.ReadByte(); if (inDigest != null) { if (b >= 0) { inDigest.Update((byte)b); } } return b; }