예제 #1
0
        public override int Read(byte[] buffer, int offset, int count)
        {
            if (_read >= _length)
            {
                return(0);
            }

            int rc = _session.Read(buffer, offset, count);

            _read += rc;
            return(rc);
        }
예제 #2
0
 public override int Read(byte[] buffer, int offset, int count)
 {
     return(_session.Read(buffer, offset, count));
 }