public interface LambdaDataBinder
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] content,
java.lang.Class<T> clazz)
Converts an encoded byte array into a POJO.
|
byte[] |
serialize(java.lang.Object object)
Serializes an object into encoded byte array.
|
<T> T deserialize(@Nullable
byte[] content,
@NonNull
java.lang.Class<T> clazz)
T - the type of the classcontent - an encoded content in bytesclazz - class to be deserialized intobyte[] serialize(@Nullable
java.lang.Object object)
object - object to be serialized