|
Boost Users : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-11-22 13:16:55
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net