Method CompareTo
CompareTo(ByteBuffer)
Compares the remaining bytes of this buffer to another byte buffer's remaining bytes.
Declaration
public virtual int CompareTo(ByteBuffer otherBuffer)
Parameters
Type | Name | Description |
---|---|---|
ByteBuffer | otherBuffer | another byte buffer. |
Returns
Type | Description |
---|---|
System.Int32 | a negative value if this is less than |