| GenSortRecordRawComparerCompare Method (Byte, Int32, Int32, Byte, Int32, Int32) |
Compares the binary representation of two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Namespace:
Ookii.Jumbo.Jet.Samples.IO
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public int Compare(
byte[] x,
int xOffset,
int xCount,
byte[] y,
int yOffset,
int yCount
)
Public Function Compare (
x As Byte(),
xOffset As Integer,
xCount As Integer,
y As Byte(),
yOffset As Integer,
yCount As Integer
) As Integer
public:
virtual int Compare(
array<unsigned char>^ x,
int xOffset,
int xCount,
array<unsigned char>^ y,
int yOffset,
int yCount
) sealed
abstract Compare :
x : byte[] *
xOffset : int *
xCount : int *
y : byte[] *
yOffset : int *
yCount : int -> int
override Compare :
x : byte[] *
xOffset : int *
xCount : int *
y : byte[] *
yOffset : int *
yCount : int -> int
Parameters
- x
- Type: SystemByte
The buffer containing the first object. - xOffset
- Type: SystemInt32
The offset into x where the first object starts. - xCount
- Type: SystemInt32
The number of bytes in x used by the first object. - y
- Type: SystemByte
The buffer containing the second object. - yOffset
- Type: SystemInt32
The offset into y where the second object starts. - yCount
- Type: SystemInt32
The number of bytes in y used by the second object.
Return Value
Type:
Int32
A signed integer that indicates the relative values of the first and second object.
Implements
IRawComparerTCompare(Byte, Int32, Int32, Byte, Int32, Int32)See Also