Method | Description | |
---|---|---|
Calculate ( byte data ) : uint | ||
Calculate ( byte data, uint polynomial ) : uint |
A fast (native) CRC32 implementation that can be used on a regular byte arrays.
|
|
Calculate ( byte data, uint len, uint polynomial ) : uint |
A fast (native) CRC32 implementation that can be used on a pinned byte array using default polynomial.
|
public static Calculate ( byte data, uint polynomial ) : uint | ||
data | byte | The data from which to calculate the checksum. |
polynomial | uint | The polynomial. |
return | uint |
public static Calculate ( byte data, uint len, uint polynomial ) : uint | ||
data | byte | [in,out] If non-null, the. |
len | uint | The length of the data. |
polynomial | uint | The polynomial to XOR with. |
return | uint |