I have some code written in MFC which writes data to a file. Now I am rewriting that code in C#. In MFC code, data is being written in file using CArchive. Now I am thinking to use BinaryReader in C# to read the data from the file.
So my question is that are they same CArchive and BinaryReader? If not then what is the difference and what I should use.
I am not good in MFC and I am assuming that CArchive writes binary data in file. Is this assumption right?