Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Compare two binary regions, testing for equality.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static bool Equals(
	byte[] ab1,
	int of1,
	byte[] ab2,
	int of2,
	int cb
)

Parameters

ab1
Type: array< System..::.Byte >[]()[]
The byte array containing the first binary region to compare.
of1
Type: System..::.Int32
The offset of the binary region within ab1.
ab2
Type: array< System..::.Byte >[]()[]
The byte array containing the second binary region to compare.
of2
Type: System..::.Int32
The offset of the binary region within ab2.
cb
Type: System..::.Int32
The size of the binary regions, which is the number of bytes to compare.

Return Value

true iff the two specified binary regions are identical.

See Also