public class Utf8CharBuffer extends Utf8Appendable
Utf8Appendable.NotUtf8ExceptionREPLACEMENT, REPLACEMENT_UTF8| Modifier and Type | Method and Description |
|---|---|
void |
append(char[] cbuf,
int offset,
int size) |
void |
append(int c) |
void |
clear() |
ByteBuffer |
getByteBuffer() |
String |
getPartialString() |
int |
length() |
int |
remaining() |
void |
reset() |
String |
toString() |
static Utf8CharBuffer |
wrap(ByteBuffer buffer)
Convenience method to wrap a ByteBuffer with a
Utf8CharBuffer |
append, append, append, append, append, append, append, append, isUtf8SequenceComplete, takePartialString, toReplacedStringpublic static Utf8CharBuffer wrap(ByteBuffer buffer)
Utf8CharBufferbuffer - the buffer to wrappublic void append(char[] cbuf,
int offset,
int size)
public void append(int c)
public void reset()
public void clear()
public ByteBuffer getByteBuffer()
public int length()
length in class Utf8Appendablepublic int remaining()
public String getPartialString()
getPartialString in class Utf8AppendableCopyright © 2010 - 2020 Adobe. All Rights Reserved