- All Known Implementing Classes:
DeflatedJavaSerializer
,JavaSerializer
public interface ISerializer
A serializer that can be used to convert an object to byte array and back
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(byte[] data) Reconstructs the object from its serialized statebyte[]
Converts the object to byte array
-
Method Details
-
serialize
Converts the object to byte array- Parameters:
object
- the object to serialize- Returns:
- the serialized page as byte array
-
deserialize
Reconstructs the object from its serialized state- Parameters:
data
- the serialized state of the object- Returns:
- the object reconstructed from its serialized state
-