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, appendByte, checkState, isUtf8SequenceComplete, reset, 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 clear()
public ByteBuffer getByteBuffer()
public int length()
length in class Utf8Appendablepublic int remaining()
Copyright © 1995-2015 Webtide. All Rights Reserved.