Provides methods to compute CRC64 checksums.
More...
|
static unsafe UInt64 | Compute (Byte *data, Int32 length) |
| Computes the CRC64 checksum for the given data. More...
|
|
static unsafe UInt64 | Compute (UInt64 crc, Byte *data, Int32 offset, Int32 length) |
| Computes the CRC64 checksum for the given data with an initial CRC value and offset. More...
|
|
Provides methods to compute CRC64 checksums.
◆ Compute() [1/2]
static unsafe UInt64 Compute |
( |
Byte * |
data, |
|
|
Int32 |
length |
|
) |
| |
|
static |
Computes the CRC64 checksum for the given data.
- Parameters
-
data | A pointer to the data to compute the checksum for. |
length | The length of the data. |
- Returns
- The computed CRC64 checksum.
◆ Compute() [2/2]
static unsafe UInt64 Compute |
( |
UInt64 |
crc, |
|
|
Byte * |
data, |
|
|
Int32 |
offset, |
|
|
Int32 |
length |
|
) |
| |
|
static |
Computes the CRC64 checksum for the given data with an initial CRC value and offset.
- Parameters
-
crc | The initial CRC value. |
data | A pointer to the data to compute the checksum for. |
offset | The offset in the data to start computing the checksum from. |
length | The length of the data. |
- Returns
- The computed CRC64 checksum.