22 Nov
2005
22 Nov
'05
6:07 p.m.
Christian Henning wrote:
Pedro, I have been using iostream's file_sink and file_source with the binary flag and everything is working fine.
Glad to hear it.
One hint, if you're opening file with that flag I would use the read() or write() of the std:: fstream interace, only. I have had bad experience with all those operator >>() .
The formatted i/o operators such as << and >> treat whitespace specially and so aren't well suited for binary i/o.
Greets, Christian
-- Jonathan Turkanis www.kangaroologic.com