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