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() |
java.nio.ByteBuffer |
getByteBuffer() |
int |
length() |
int |
remaining() |
java.lang.String |
toString() |
static Utf8CharBuffer |
wrap(java.nio.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(java.nio.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 java.nio.ByteBuffer getByteBuffer()
public int length()
length
in class Utf8Appendable
public int remaining()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2017 Webtide. All rights reserved.