Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Compare two binary regions, testing for equality.

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

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