FreeImage.NET Class Library Reference
FreeImageCompareMemory Method (IntPtr, IntPtr, UInt32) |
Compares blocks of memory.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool CompareMemory( IntPtr buf1, IntPtr buf2, uint length )
Parameters
- buf1
- Type: SystemIntPtr
A pointer to a block of memory to compare. - buf2
- Type: SystemIntPtr
A pointer to a block of memory to compare. - length
- Type: SystemUInt32
Specifies the number of bytes to be compared.
Return Value
Type: Booleantrue, if all bytes compare as equal, false otherwise.
See Also