public interface LambdaDataBinder
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] content,
Class<T> clazz)
Converts an encoded byte array into a POJO.
|
byte[] |
serialize(Object object)
Serializes an object into encoded byte array.
|
<T> T deserialize(byte[] content, Class<T> clazz)
T
- the type of the classcontent
- an encoded content in bytesclazz
- class to be deserialized intobyte[] serialize(Object object)
object
- object to be serializedCopyright © 2017. All rights reserved.