public class ObjectSerializer extends Object
| Constructor and Description |
|---|
ObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] in)
Get the object represented by the given serialized bytes.
|
byte[] |
serializeToByteArray(Object o)
Get the bytes representing the given serialized object.
|
public byte[] serializeToByteArray(Object o)
o - The serializable object to be serializedpublic Object deserialize(byte[] in)
in - the serialized object to be deserializedCopyright © 2019. All rights reserved.