共用方式為


Crc32.ComputeCrc32C 方法

定義

多載

ComputeCrc32C(UInt32, Byte)

uint32_t __crc32cb (uint32_t a, uint8_t b)

A32: CRC32CB Rd, Rn, Rm

A64: CRC32CB Wd, Wn, Wm

ComputeCrc32C(UInt32, UInt16)

uint32_t __crc32ch (uint32_t a, uint16_t b)

A32: CRC32CH Rd, Rn, Rm

A64: CRC32CH Wd, Wn, Wm

ComputeCrc32C(UInt32, UInt32)

uint32_t __crc32cw (uint32_t a, uint32_t b)

A32: CRC32CW Rd, Rn, Rm

A64: CRC32CW Wd, Wn, Wm

ComputeCrc32C(UInt32, Byte)

uint32_t __crc32cb (uint32_t a, uint8_t b)

A32: CRC32CB Rd, Rn, Rm

A64: CRC32CB Wd, Wn, Wm

public:
 static System::UInt32 ComputeCrc32C(System::UInt32 crc, System::Byte data);
public static uint ComputeCrc32C (uint crc, byte data);
static member ComputeCrc32C : uint32 * byte -> uint32
Public Shared Function ComputeCrc32C (crc As UInteger, data As Byte) As UInteger

參數

crc
UInt32
data
Byte

傳回

UInt32

適用於

ComputeCrc32C(UInt32, UInt16)

uint32_t __crc32ch (uint32_t a, uint16_t b)

A32: CRC32CH Rd, Rn, Rm

A64: CRC32CH Wd, Wn, Wm

public:
 static System::UInt32 ComputeCrc32C(System::UInt32 crc, System::UInt16 data);
public static uint ComputeCrc32C (uint crc, ushort data);
static member ComputeCrc32C : uint32 * uint16 -> uint32
Public Shared Function ComputeCrc32C (crc As UInteger, data As UShort) As UInteger

參數

crc
UInt32
data
UInt16

傳回

UInt32

適用於

ComputeCrc32C(UInt32, UInt32)

uint32_t __crc32cw (uint32_t a, uint32_t b)

A32: CRC32CW Rd, Rn, Rm

A64: CRC32CW Wd, Wn, Wm

public:
 static System::UInt32 ComputeCrc32C(System::UInt32 crc, System::UInt32 data);
public static uint ComputeCrc32C (uint crc, uint data);
static member ComputeCrc32C : uint32 * uint32 -> uint32
Public Shared Function ComputeCrc32C (crc As UInteger, data As UInteger) As UInteger

參數

crc
UInt32
data
UInt32

傳回

UInt32

適用於