ByteBufferCompareMSBTo Method

Compares this instance to a specified instance of ByteBuffer lexicographically from the MSB first (as long numbers). It cannot be animplementation of IComparable interface because CF does not support it.

Definition

Namespace: OddPrg
Assembly: OddPrg (in OddPrg.dll) Version: 2.0.0.0 (2.0.0.0)
C#
public int CompareMSBTo(
	ByteBuffer other
)

Parameters

other  ByteBuffer
The byte buffer to compare this insance to

Return Value

Int32
If instances are equal it returns zero. If this instance is less than other it returns -1. If this instance is greater than other it returns 1.

See Also