public interface Codec<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
decode(byte[] data)
Decodes the byte array returns an object. 
 | 
byte[] | 
encode(T object)
Encodes the object returns a byte array representation. 
 | 
String | 
getName()
Returns the codec name 
 | 
Copyright © 2019 Nuxeo. All rights reserved.