|
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.TwoByteDecoder
Example Decoder implementation for resources encoded by the TwoByteEncoder implementation of Encoder. Decodes each char as its high and low order 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.
TwoByteEncoder,
Decoder| Constructor Summary | |
TwoByteDecoder()
|
|
| 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 TwoByteDecoder()
| 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 | |||||||