NtDllRtlComputeCrc32 Method

Calculate the CRC-32 checksum of a block of bytes.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll")]
public static uint RtlComputeCrc32(
	uint initialValue,
	IntPtr buffer,
	uint bufferLen
)

Parameters

initialValue  UInt32
The value used to initialize the CRC value/register.
buffer  IntPtr
The block of bytes to calculate its CRC-32.
bufferLen  UInt32
Length of buffer, in bytes.

Return Value

UInt32
The cumulative CRC-32 checksum of initialValue and bufferLen bytes of buffer.

Remarks

See Also