コード例 #1
0
ファイル: Chunk.cs プロジェクト: lubota/spartacus
 public bool hasGoodCRC()
 {
     CRC32 computedCRC = new CRC32();
     computedCRC.Update(type, 0, 4);
     computedCRC.Update(data, 0, (int) chunkLength);
     return (computedCRC.GetValue() == this.crc);
 }