final class CharOptimizedUTF8Encoder extends OptimizedUTF8Encoder
String
objects are backed by
char[]
.UTF_8_CHARSET
Constructor and Description |
---|
CharOptimizedUTF8Encoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decode(byte[] encodedString,
int offset,
int length)
Decode an array of bytes into a string.
|
charDecode, decodeToChars, getCharArray
decode, defaultEncoding, encode, getDatabaseEncoding, getDecodingReader, getEncodingWriter, getJVMEncoding, hasAsciiNumbers, name, toString
public java.lang.String decode(byte[] encodedString, int offset, int length) throws java.io.IOException
decode
in class Encoding
encodedString
- a byte array containing the string to decodeoffset
- the offset in encodedString
of the first byte of the encoded
representationlength
- the length, in bytes, of the encoded representationjava.io.IOException
- if something goes wrong