RtlCompareMemory v0.1.0

Source
Counts matching bytes from the start of two memory ranges.

Package: Windows

Microsoft documentation: RtlCompareMemory

Signature

func RtlCompareMemory(
    source1: *opaque,
    source2: *opaque,
    length: uint
) -> uint;

Returns

uint — matching bytes before the first difference, up to length. A result equal to length means the ranges are equal. This is not lexicographic compare.

Both pointers must be readable for length bytes.

See also