public class BlockUTF8 extends Object
Constructor and Description |
---|
BlockUTF8() |
Modifier and Type | Method and Description |
---|---|
static void |
fromChars(CharBuffer cb,
ByteBuffer bb)
Convert characters to UTF-8 bytes in the ByteBuffer.
|
static void |
fromChars(CharSequence cs,
ByteBuffer bb) |
static void |
toChars(ByteBuffer bb,
CharBuffer cb)
Convert the bytes in the ByteBuffer to characters in the CharBuffer.
|
static String |
toString(ByteBuffer bb)
Make a string from UTF-8 bytes in a ByteBuffer
|
public static void toChars(ByteBuffer bb, CharBuffer cb)
public static void fromChars(CharBuffer cb, ByteBuffer bb)
public static String toString(ByteBuffer bb)
public static void fromChars(CharSequence cs, ByteBuffer bb)
Licenced under the Apache License, Version 2.0