Method | Description | |
---|---|---|
CRC32 ( ) : System | ||
CheckSumBytes ( byte data ) : |
计算字节数据的crc32值
|
|
CheckSumFile ( string filePath ) : |
计算沙盒文件的crc32值
|
|
CheckSumSlice ( byte data, int offset, int count ) : |
||
Sum32 ( ) : |
||
Update ( |
||
Write ( byte p, int offset, int count ) : void |
Method | Description | |
---|---|---|
MakeTable ( |
public static CheckSumBytes ( byte data ) : |
||
data | byte | 二进制数据 |
return |
public static CheckSumFile ( string filePath ) : |
||
filePath | string | 沙盒文件全路径 |
return |
public static CheckSumSlice ( byte data, int offset, int count ) : |
||
data | byte | |
offset | int | |
count | int | |
return |
public static Update ( |
||
crc | ||
table | ||
p | byte | |
offset | int | |
count | int | |
return |
public Write ( byte p, int offset, int count ) : void | ||
p | byte | |
offset | int | |
count | int | |
return | void |