From: Shams (shams_at_[hidden])
Date: 2007-05-26 22:32:38
I have had a look at the example...
1. Apart from handling endianess what is really different from iostreams
opened in binary mode?
2. Is/can the endianness BOM (byte order mark) written to the file
-- "Ares Lagae" <ares.lagae_at_[hidden]> wrote in message news:f31613$i4g$1_at_sea.gmane.org... >I have developed a small library for binary I/O, called binary_iostreams, > and I am using it in several of my own projects. I was wondering if there > is interest for such a binary_iostreams library? > > The binary_iostreams is a small library, very similar to the iostreams > library. Compared to iostreams, the unformatted I/O operators remain, and > the formatted I/O operators now do binary I/O. This makes the > binary_iostreams library easy to use for anyone acquainted with the > iostreams library. The binary_iostreams library allows to set the > endianness of the output stream. Together with <cstdint>, this allows for > portable binary I/O, although binary_iostreams does not claim to be a full > blown serialization library. > > > Direct link to a motivating example: > http://www.cs.kuleuven.ac.be/~ares/binary_iostreams/test.cpp > > The library: > http://www.cs.kuleuven.ac.be/~ares/binary_iostreams/binary_iostreams-0.1.tar.gz > > The documentation: > http://www.cs.kuleuven.ac.be/~ares/binary_iostreams/doc/html > > > Best regards, > > -- > Ares Lagae > Computer Graphics Research Group, Katholieke Universiteit Leuven > http://www.cs.kuleuven.be/~ares/ > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk