Compare this ByteArrayView to another lexigraphically. NB: No data is copied when doing this.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int CompareTo(
	ByteArrayView bav
)
Public Function CompareTo ( _
	bav As ByteArrayView _
) As Integer
public:
virtual int CompareTo(
	ByteArrayView^ bav
) sealed

Parameters

bav
ByteArrayView
The ByteArrayView to which to compare.

Return Value

-1 if the current array is less than the given array, 1 if the given array is greater, or 0 if both are identical.

See Also