![]() |
FlatBuffers
An open source project by FPL.
|
This class implements the Utf8 API using the Java Utf8 encoder. More...
This class implements the Utf8 API using the Java Utf8 encoder.
Use Utf8.setDefault(new Utf8Old()); to use it.
Public Member Functions | |
String | decodeUtf8 (ByteBuffer buffer, int offset, int length) |
int | encodedLength (CharSequence in) |
void | encodeUtf8 (CharSequence in, ByteBuffer out) |
![]() | |
abstract String | decodeUtf8 (ByteBuffer buffer, int offset, int length) |
Decodes the given UTF-8 portion of the ByteBuffer into a String. More... | |
abstract int | encodedLength (CharSequence sequence) |
Returns the number of bytes in the UTF-8-encoded form of. More... | |
abstract void | encodeUtf8 (CharSequence in, ByteBuffer out) |
Encodes the given characters to the target ByteBuffer using UTF-8 encoding. More... | |
Additional Inherited Members | |
![]() | |
static Utf8 | getDefault () |
Get the default UTF-8 processor. More... | |
static void | setDefault (Utf8 instance) |
Set the default instance of the UTF-8 processor. More... | |