public static class CompressedByteArrayStream.DirectCharConverter extends CharacterConverter
| Constructor and Description |
|---|
DirectCharConverter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
chars2bytes(char[] chars,
int offset,
int length)
Just casts the char to byte; thus, ignoring any non-ASCII character.
|
bytes2charscontains, newDecoder, newEncoderpublic byte[] chars2bytes(char[] chars,
int offset,
int length)
chars2bytes in class CharacterConverter