Java.Nio.ByteBuffer.CompareTo Method
Compares the remaining bytes of this buffer to another byte buffer's remaining bytes.

Syntax

[Android.Runtime.Register("compareTo", "(Ljava/nio/ByteBuffer;)I", "GetCompareTo_Ljava_nio_ByteBuffer_Handler")]
public virtual int CompareTo (ByteBuffer otherBuffer)

Parameters

otherBuffer
another byte buffer.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassCastExceptionif other is not a byte buffer.

Remarks

Compares the remaining bytes of this buffer to another byte buffer's remaining bytes.

[Android Documentation]

Requirements

Namespace: Java.Nio
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1