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.
|
bytes2chars
contains, newDecoder, newEncoder
public byte[] chars2bytes(char[] chars, int offset, int length)
chars2bytes
in class CharacterConverter