IOMiscUtils MemBufferEquals Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Returns true if both buffers contain the same number of the same bytes. The implementation uses quad-word comparison as much as possible for speed. Requires UNSAFE switch

Namespace: NFX
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static bool MemBufferEquals(
	this byte[] buf1,
	byte[] buf2
)

Parameters

buf1
Type:  OnlineSystem Byte 
buf2
Type:  OnlineSystem Byte 

Return Value

Type: OnlineBoolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also