public virtual int Available () { if (Wrapped is WrappedSystemStream) return ((WrappedSystemStream)Wrapped).InputStream.Available (); return 0; }