T - the type serializedpublic interface Serializer<T>
T)
to byte arrays, and de-serializing them again.| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] bytes)
De-serializes an object from a byte array
|
Class<T> |
getSerializedClass()
Returns the runtime reference to the serialized type
|
byte[] |
serialize(T object)
Serializes an object to a byte array
|
Copyright © 2015. All rights reserved.