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
 
Back
Top