CharsRef
class CharsRef(var chars: CharArray, var offset: Int, len: Int) : Comparable<CharsRef> , CharSequence
Represents char[], as a slice (offset + length) into an existing char[]. The {@link #chars} member should never be null; use {@link #EMPTY_CHARS} if necessary.
Constructors
Properties
Functions
Link copied to clipboard
Returns the Unicode code point at the specified index of this CharSequence.
Link copied to clipboard
Returns a stream of code point values from this sequence. Any surrogate pairs encountered in the sequence are combined as if by {@linkplain Character#toCodePoint Character.toCodePoint} and the result is passed to the stream. Any other code units, including ordinary BMP characters, unpaired surrogates, and undefined code units, are zero-extended to {@code int} values which are then passed to the stream.
Link copied to clipboard