Table of Contents

Method Crc32C

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

Crc32C(uint, byte)

Accumulates the CRC (Cyclic redundancy check) checksum.

[CLSCompliant(false)]
public static uint Crc32C(uint crc, byte data)

Parameters

crc uint

The base value to calculate checksum on

data byte

The data for which to compute the checksum

Returns

uint

The CRC-checksum

Crc32C(uint, ushort)

Accumulates the CRC (Cyclic redundancy check) checksum.

[CLSCompliant(false)]
public static uint Crc32C(uint crc, ushort data)

Parameters

crc uint

The base value to calculate checksum on

data ushort

The data for which to compute the checksum

Returns

uint

The CRC-checksum

Crc32C(uint, uint)

Accumulates the CRC (Cyclic redundancy check) checksum.

[CLSCompliant(false)]
public static uint Crc32C(uint crc, uint data)

Parameters

crc uint

The base value to calculate checksum on

data uint

The data for which to compute the checksum

Returns

uint

The CRC-checksum

Crc32C(uint, ulong)

Accumulates the CRC (Cyclic redundancy check) checksum.

[CLSCompliant(false)]
public static uint Crc32C(uint crc, ulong data)

Parameters

crc uint

The base value to calculate checksum on

data ulong

The data for which to compute the checksum

Returns

uint

The CRC-checksum