Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
Binary..::.Equals Method (array<Byte>[]()[], Int32, array<Byte>[]()[], Int32, Int32)
Binary Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Compare two binary regions, testing for equality.

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

# 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

Binary Class
Equals Overload
Tangosol.Util Namespace