NtDllRtlCrc32 Method

Calculates the CRC-32 checksum for 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", SetLastError = true)]
public static uint RtlCrc32(
	byte[] buffer,
	IntPtr size,
	uint initialValue = 4294967295
)

Parameters

buffer  Byte
The buffer containing the data to calculate its CRC checksum.
size  IntPtr
The size of buffer parameter, in bytes.
initialValue  UInt32  (Optional)
The value used to initialize the CRC value/register.

Return Value

UInt32
Returns the resulting CRC-32 checksum.

Remarks

See Also