|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
totalcross.lang.Objecttotalcross.sys.CharacterConverter
totalcross.io.CompressedByteArrayStream.DirectCharConverter
public static class CompressedByteArrayStream.DirectCharConverter
Implements a CharacterConverter that from char[] to byte[] which just casts the char to byte; thus, ignoring any non-ASCII character.
| Constructor Summary | |
|---|---|
CompressedByteArrayStream.DirectCharConverter()
|
|
| Method Summary | |
|---|---|
byte[] |
chars2bytes(char[] chars,
int offset,
int length)
Just casts the char to byte; thus, ignoring any non-ASCII character. |
| Methods inherited from class totalcross.sys.CharacterConverter |
|---|
bytes2chars |
| Methods inherited from class totalcross.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompressedByteArrayStream.DirectCharConverter()
| Method Detail |
|---|
public byte[] chars2bytes(char[] chars,
int offset,
int length)
chars2bytes in class CharacterConverter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||