public abstract class SerializationUtils extends Object
Constructor and Description |
---|
SerializationUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(byte[] bytes)
Deserialize the byte array into an object.
|
static byte[] |
serialize(Object object)
Serialize the given object to a byte array.
|
public static byte[] serialize(Object object)
object
- the object to serializepublic static Object deserialize(byte[] bytes)
bytes
- a serialized object