|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the object that is mapped by this serializerpublic interface Serializer<T>
Map objects to byte arrays and back again
Method Summary | |
---|---|
byte[] |
toBytes(T object)
Construct an array of bytes from the given object |
T |
toObject(byte[] bytes)
Create an object from an array of bytes |
Method Detail |
---|
byte[] toBytes(T object)
object
- The object
T toObject(byte[] bytes)
bytes
- An array of bytes with the objects data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |