/// <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; }
/// <summary> /// The constructor. /// </summary> /// <param name="stream">The underlying stream</param> public CrcCalculatorStream(System.IO.Stream stream) : base() { _InnerStream = stream; _Crc32 = new CRC32(); }