BinaryReader object can read Word file?

  • Thread starter Thread starter I_AM_DON_AND_YOU?
  • Start date Start date
I_AM_DON_AND_YOU,
As Armin stated, BinaryReader can read any file. However! without knowing
the actual format of the Word file, the BinaryReader may not return values
that actually make sense.

Also you need to be careful with BinaryReader.GetString, it expects the
string to be in a specific format, namely a length prefixed string, where
the length of the string is written in 1 or more bytes, followed by the
encoded data for the string.

Hope this helps
Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top