public override int ReadByte () { if (bufLength > bufPos) { return buffer [bufPos++]; } return stream.ReadByte (); }