|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICodec
The interface every codec must implement.
Method Summary | |
---|---|
byte[] |
decode(byte[] data)
Compress an array of bytes. |
byte[] |
encode(byte[] data)
Encodes an array of bytes. |
Method Detail |
---|
byte[] encode(byte[] data) throws CodecException
data
- The array to be encoded.
CodecException
- if this method cannot encode the data.byte[] decode(byte[] data) throws CodecException
data
- The array to be decoded.
CodecException
- if this method cannot decode the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |