I'm new to object serialization, and in the course of my learning how to read from and write to a file (deserialize and serialize) using BinaryFormatter
, I came across BinaryReader
and BinaryWriter
, which seemed to be doing the same thing.
Is there some subtle difference between BinaryFormatter.Serialize()
and BinaryWriter
? Or is BinaryWriter
just a more compact way performing the the same action as BinaryFormatter.Serialize()
?