 | RawComparerHelperCompareBytesWith7BitEncodedLength Method |
Helper method to compare a range of bytes with a 7-bit encoded length before the range.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static int CompareBytesWith7BitEncodedLength(
byte[] buffer1,
int offset1,
int count1,
byte[] buffer2,
int offset2,
int count2
)
Public Shared Function CompareBytesWith7BitEncodedLength (
buffer1 As Byte(),
offset1 As Integer,
count1 As Integer,
buffer2 As Byte(),
offset2 As Integer,
count2 As Integer
) As Integer
public:
static int CompareBytesWith7BitEncodedLength(
array<unsigned char>^ buffer1,
int offset1,
int count1,
array<unsigned char>^ buffer2,
int offset2,
int count2
)
static member CompareBytesWith7BitEncodedLength :
buffer1 : byte[] *
offset1 : int *
count1 : int *
buffer2 : byte[] *
offset2 : int *
count2 : int -> int
Parameters
- buffer1 Byte
- The buffer containing the first object.
- offset1 Int32
- The offset into buffer1 where the first object starts.
- count1 Int32
- The number of bytes in buffer1 used by the first object.
- buffer2 Byte
- The buffer containing the second object.
- offset2 Int32
- The offset into buffer2 where the second object starts.
- count2 Int32
- The number of bytes in buffer2 used by the second object.
Return Value
Int32A signed integer that indicates the relative values of the first and second object.
See Also