Click or drag to resize

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
)

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