public interface ContentEncoder
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(byte[] bytes)
Decode the byte array returning a decrypted object.
|
byte[] |
encode(Object obj)
Encode the object returning an encrypted byte array.
|
byte[] encode(Object obj) throws EncodingException
obj - Object to encode.EncodingException - if failed to encode the object.Object decode(byte[] bytes) throws EncodingException
bytes - a byte array representing the encoded object.EncodingException - if failed to decode the object.Copyright © GigaSpaces.