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() |
java.lang.String |
getPartialString() |
int |
length() |
int |
remaining() |
void |
reset() |
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, append, appendByte, checkState, isUtf8SequenceComplete, takePartialString, 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 reset()
reset
in class Utf8Appendable
public void clear()
public java.nio.ByteBuffer getByteBuffer()
public int length()
length
in class Utf8Appendable
public int remaining()
public java.lang.String getPartialString()
getPartialString
in class Utf8Appendable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.