compareTo

open operator override fun compareTo(other: CharBuffer): Int

Lexicographically compares the remaining characters of this buffer to another buffer's remaining characters.

Returns negative if this < other, 0 if equal, positive if this > other.