Class TypedSerializer.Default<M>
java.lang.Object
one.microstream.persistence.binary.util.TypedSerializer.Default<M>
- All Implemented Interfaces:
AutoCloseable,Serializer<M>,TypedSerializer<M>
- Enclosing interface:
- TypedSerializer<M>
public static class TypedSerializer.Default<M> extends Object implements TypedSerializer<M>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.util.Serializer
Serializer.Source, Serializer.TargetNested classes/interfaces inherited from interface one.microstream.persistence.binary.util.TypedSerializer
TypedSerializer.Default<M>, TypedSerializer.Static -
Method Summary
-
Method Details
-
serialize
Description copied from interface:SerializerSerializes the given object graph into the medium type.- Specified by:
serializein interfaceSerializer<M>- Parameters:
object- the graph's root- Returns:
- the binary format
-
deserialize
Description copied from interface:SerializerRecreates an object graph based on the given data.- Specified by:
deserializein interfaceSerializer<M>- Type Parameters:
T- the object's type- Parameters:
data- the medium to read from- Returns:
- the deserialized object graph
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-