Example Encoder implementation, that encodes each
byte as it's char value.
Encodes a resource by writing each byte as a char.
If you encode resorces using this class, you have to include the
CharDecoder class in the distribution of your software.
We supply this class as a free service to all users of the
Cramfull Compiled Resources library.
You are allowed to modify this source code, provided you move the class out of
the be.arci package hierarchy.
encode(java.io.DataInput di,
int iResourceLength)
Encodes the resource file into a sequence of char-s; implementations must invoke
write(char c) for each encoded char.
java.lang.String
getDecoderClassName()
The Decoder associated with this Encoder
is be.arci.pub.CharDecoder
Methods inherited from class be.arci.cramfull.Encoder
Encodes the resource file into a sequence of char-s; implementations must invoke
write(char c) for each encoded char. The Decoder
will read this char sequence in the same order.