Method | Description | |
---|---|---|
Reset ( ) : void |
Resets the CRC32 data checksum as if no update was ever called.
|
|
Update ( byte buffer ) : void |
Updates the checksum with the bytes taken from the array.
|
|
Update ( byte buffer, int offset, int count ) : void |
Adds the byte array to the data checksum.
|
|
Update ( int value ) : void |
Updates the checksum with the int bval.
|
Method | Description | |
---|---|---|
ComputeCrc32 ( uint oldCrc, byte value ) : uint |
public Update ( byte buffer ) : void | ||
buffer | byte | /// buffer an array of bytes /// |
return | void |
public Update ( byte buffer, int offset, int count ) : void | ||
buffer | byte | /// The buffer which contains the data /// |
offset | int | /// The offset in the buffer where the data starts /// |
count | int | /// The number of data bytes to update the CRC with. /// |
return | void |
public Update ( int value ) : void | ||
value | int | /// the byte is taken as the lower 8 bits of value /// |
return | void |