public class SerializerUtil
extends java.lang.Object
Constructor and Description |
---|
SerializerUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
byteArrToObject(byte[] bytes)
Deserialize byte arry to object.
|
static byte[] |
objectToByteArr(java.lang.Object underlying)
Serialize object to byte array.
|
public static byte[] objectToByteArr(java.lang.Object underlying)
underlying
- to serializepublic static java.lang.Object byteArrToObject(byte[] bytes)
bytes
- to read