RFA .NET Compares the buffer with a byte array.
Namespace: ThomsonReuters.RFA.CommonAssembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Syntax
C# |
---|
public bool IsEqual(
byte[] bytes,
int bytesToCompare,
int positionToStart
) |
Visual Basic |
---|
Public Function IsEqual ( _
bytes As Byte(), _
bytesToCompare As Integer, _
positionToStart As Integer _
) As Boolean |
Visual C++ |
---|
public:
bool IsEqual(
array<unsigned char>^ bytes,
int bytesToCompare,
int positionToStart
) |
F# |
---|
member IsEqual :
bytes:byte[] *
bytesToCompare:int *
positionToStart:int -> bool
|
Parameters
- bytes
- Type: array<System..::..Byte>[]()[][]
An array of the memory to compare.
- bytesToCompare
- Type: System..::..Int32
The number of bytes to compare.
- positionToStart
- Type: System..::..Int32
The offset from the start
of the byte array to start the comparison.
Return Value
true If the content of the two regions are the same.
Exceptions
Exception | Condition |
---|
System..::..IndexOutOfRangeException | index out of range. |
See Also