|
Cramfull Compiled Resources v2.00 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--be.arci.cramfull.Decoder
|
+--be.arci.pub.CharDecoder
Example Decoder implementation for resources encoded by the CharEncoder implementation of Encoder. Decodes by truncating each char to a byte.
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.
CharEncoder,
Decoder| Constructor Summary | |
CharDecoder()
|
|
| Method Summary | |
byte[] |
decode(int iEncodedLength)
Decodes a resource from a sequence of char-s. |
| Methods inherited from class be.arci.cramfull.Decoder |
read |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public CharDecoder()
| Method Detail |
public byte[] decode(int iEncodedLength)
iEncodedLength - the length in char-s of the encoded form of the resourceEncoder.encode(DataInput di, int iResourceLength),
read()
|
Cramfull Compiled Resources v2.00 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||