Ejemplo n.º 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;
 }
Ejemplo n.º 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();

        }
Ejemplo n.º 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();
 }