Click or drag to resize

GenSortRecordCompareKeys Method

Compares two specified keys and returns an integer that indicates their relationship to one another in the sort order.

Namespace:  Ookii.Jumbo.Jet.Samples.IO
Assembly:  Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax
public static int CompareKeys(
	byte[] left,
	byte[] right
)

Parameters

left
Type: SystemByte
The first key. If the array contains more than KeySize bytes, the remaining bytes are ignored.
right
Type: SystemByte
The second key. If the array contains more than KeySize bytes, the remaining bytes are ignored.

Return Value

Type: Int32
Zero if the keys are identical; less than zero if left is less than right; greater than zero if left is greater than right.
See Also