Compares blocks of memory.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool CompareMemory(
	void* buf1,
	void* buf2,
	long length
)
Visual Basic (Declaration)
Public Shared Function CompareMemory ( _
	buf1 As Void*, _
	buf2 As Void*, _
	length As Long _
) As Boolean
Visual C++
public:
static bool CompareMemory(
	void* buf1, 
	void* buf2, 
	long long length
)

Parameters

buf1
Type: System..::.Void *
A pointer to a block of memory to compare.
buf2
Type: System..::.Void *
A pointer to a block of memory to compare.
length
Type: System..::.Int64
Specifies the number of bytes to be compared.

Return Value

true, if all bytes compare as equal, false otherwise.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also