public class Utf8CharBuffer extends Utf8Appendable
Utf8Appendable.NotUtf8Exception
_appendable, _state, LOG, REPLACEMENT, REPLACEMENT_UTF8
Modifier and Type | Method and Description |
---|---|
void |
append(char[] cbuf,
int offset,
int size) |
void |
append(int c) |
void |
clear() |
ByteBuffer |
getByteBuffer() |
int |
length() |
int |
remaining() |
String |
toString() |
static Utf8CharBuffer |
wrap(ByteBuffer buffer)
Convenience method to wrap a ByteBuffer with a
Utf8CharBuffer |
append, append, append, append, append, append, append, appendByte, checkState, isUtf8SequenceComplete, reset, toReplacedString
public static Utf8CharBuffer wrap(ByteBuffer buffer)
Utf8CharBuffer
buffer
- the buffer to wrappublic void append(char[] cbuf, int offset, int size)
public void append(int c)
public void clear()
public ByteBuffer getByteBuffer()
public int length()
length
in class Utf8Appendable
public int remaining()
Copyright © 1995-2016 Webtide. All Rights Reserved.