Crc32.ComputeCrc32 方法

定义

重载

ComputeCrc32(UInt32, Byte)

uint32_t __crc32b (uint32_t a, uint8_t b)

A32:CRC32B Rd、Rn、Rm

A64:CRC32B Wd、Wn、Wm

ComputeCrc32(UInt32, UInt16)

uint32_t __crc32h (uint32_t a, uint16_t b)

A32:CRC32H Rd、Rn、Rm

A64:CRC32H Wd、Wn、Wm

ComputeCrc32(UInt32, UInt32)

uint32_t __crc32w (uint32_t a, uint32_t b)

A32:CRC32W Rd、Rn、Rm

A64:CRC32W Wd、Wn、Wm

ComputeCrc32(UInt32, Byte)

Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs

uint32_t __crc32b (uint32_t a, uint8_t b)

A32:CRC32B Rd、Rn、Rm

A64:CRC32B Wd、Wn、Wm

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

参数

crc
UInt32
data
Byte

返回

适用于

ComputeCrc32(UInt32, UInt16)

Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs

uint32_t __crc32h (uint32_t a, uint16_t b)

A32:CRC32H Rd、Rn、Rm

A64:CRC32H Wd、Wn、Wm

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

参数

crc
UInt32
data
UInt16

返回

适用于

ComputeCrc32(UInt32, UInt32)

Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs
Source:
Crc32.PlatformNotSupported.cs

uint32_t __crc32w (uint32_t a, uint32_t b)

A32:CRC32W Rd、Rn、Rm

A64:CRC32W Wd、Wn、Wm

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

参数

crc
UInt32
data
UInt32

返回

适用于