public interface Serializer
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] data,
Class<T> clazz)
Deserialize the given bytes into an object
|
<T> byte[] |
serialize(T obj)
Serialize the given object into bytes
|
<T> byte[] serialize(T obj)
obj
- the object<T> T deserialize(byte[] data, Class<T> clazz)
data
- bytesclazz
- type of objectCopyright © 2014–2018 Nirmata. All rights reserved.