Пример #1
0
        public static UInt32 Compute(Stream stream)
        {
            Crc32 crc32 = new Crc32();

            return(BitConverter.ToUInt32(crc32.ComputeHash(stream), 0));
        }
Пример #2
0
 public Crc32Stream(Stream stream)
 {
     internalStream = stream;
     crc32          = new Crc32();
 }