Input and Output Classes
- slide 31 : 40
Serialization
Serialization provides for input and output of a network of objects
Serialization
Writes an object
o
to a file
Also writes the objects referred from
o
Deserialization
Reads a serialized file in order to reestablish the serialized object
o
Also reestablishes the network of objects originally referred from
o
Serialization and deserialization is supported via classes that implement the
Iformatter
interface:
BinaryFormatter
and
SoapFormatter
Methods in
Iformatter:
Serialize
and
Deserialize