22 Nov
2005
22 Nov
'05
6:16 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.
One more thing: if you want to do binary i/o portably with the file wrappers, you need to manually imbue the classic locale, in case the global local is set to something more exotic. If you want to avoid this, you can use file_descriptor and friends (www.boost.org/libs/iostreams/doc/index.html?path=4.2.5.2).
Greets, Christian
-- Jonathan Turkanis www.kangaroologic.com