예제 #1
0
 public Storable(DataType type, SerializerFunction serializer, DeserializerFunction deserializer)
 {
     this.type         = type;
     this.serializer   = serializer;
     this.deserializer = deserializer;
 }
예제 #2
0
 public Storable(RepresentationType type, SerializerFunction serializer, DeserializerFunction deserializer)
 {
     this.dataType     = type;
     this.serializer   = serializer;
     this.deserializer = deserializer;
 }