Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial used by Zip. This type is used internally by DotNetZip; it is generally not used directly by applications wishing to create, read, or manipulate zip archive files.
コード例 #1
0
ファイル: Crc32.cs プロジェクト: Esri/arcgis-toolkit-sl-wpf
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="stream">The underlying stream</param>
 public CrcCalculatorStream(System.IO.Stream stream)
     : base()
 {
     _InnerStream = stream;
     _Crc32 = new CRC32();
 }
コード例 #2
0
ファイル: Crc32.cs プロジェクト: Esri/arcgis-toolkit-sl-wpf
 /// <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;
 }
コード例 #3
0
ファイル: Crc32.cs プロジェクト: zyonet/arcgis-toolkit-sl-wpf
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="stream">The underlying stream</param>
 public CrcCalculatorStream(System.IO.Stream stream)
     : base()
 {
     _InnerStream = stream;
     _Crc32       = new CRC32();
 }