public interface Utf8CharSequence extends CharSequence, Comparable, Cloneable
| Modifier and Type | Method and Description | 
|---|---|
byte | 
byteAt(int idx)  | 
Utf8CharSequence | 
clone()  | 
default int | 
compareTo(Object o)  | 
int | 
size()
The size of utf8 bytes 
 | 
int | 
write(int start,
     byte[] buffer,
     int pos)
Write the bytes into a buffer. 
 | 
default void | 
write(OutputStream os)
Creates  a byte[] and copy to it first before writing it out to the output 
 | 
charAt, chars, codePoints, length, subSequence, toStringint write(int start,
          byte[] buffer,
          int pos)
start - position from which to start writingbuffer - the buffer to which to write topos - position to start writingint size()
byte byteAt(int idx)
default int compareTo(Object o)
compareTo in interface Comparabledefault void write(OutputStream os) throws IOException
os - The sinkIOExceptionUtf8CharSequence clone()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.