Click or drag to resize

RawComparerHelperCompareBytesWith7BitEncodedLength Method

Helper method to compare a range of bytes with a 7-bit encoded length before the range.

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static int CompareBytesWith7BitEncodedLength(
	byte[] buffer1,
	int offset1,
	int count1,
	byte[] buffer2,
	int offset2,
	int count2
)

Parameters

buffer1
Type: SystemByte
The buffer containing the first object.
offset1
Type: SystemInt32
The offset into buffer1 where the first object starts.
count1
Type: SystemInt32
The number of bytes in buffer1 used by the first object.
buffer2
Type: SystemByte
The buffer containing the second object.
offset2
Type: SystemInt32
The offset into buffer2 where the second object starts.
count2
Type: SystemInt32
The number of bytes in buffer2 used by the second object.

Return Value

Type: Int32
A signed integer that indicates the relative values of the first and second object.
See Also