Example #1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="stream">The underlying stream</param>
 /// <param name="length">The length of the stream to slurp</param>
 public CrcCalculatorStream(System.IO.Stream stream, Int64 length)
     : base()
 {
     _InnerStream = stream;
     _Crc32 = new CRC32();
     _length = length;
 }
Example #2
0
        /// <summary>
        /// The constructor.
        /// </summary>
        /// <param name="stream">The underlying stream</param>
        public CrcCalculatorStream(System.IO.Stream stream)
            : base()
        {
            _InnerStream = stream;
            _Crc32 = new CRC32();

        }
Example #3
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="stream">The underlying stream</param>
 public CrcCalculatorStream(System.IO.Stream stream)
     : base()
 {
     _InnerStream = stream;
     _Crc32       = new CRC32();
 }