1 #ifndef PORTABLE_BINARY_ARCHIVE_HPP 2 #define PORTABLE_BINARY_ARCHIVE_HPP 14 #include <boost/config.hpp> 15 #include <boost/cstdint.hpp> 16 #include <boost/static_assert.hpp> 17 #include <boost/archive/archive_exception.hpp> 21 #error This code assumes an eight-bit byte. 24 #include <boost/archive/basic_archive.hpp> 25 #include <boost/predef/other/endian.h> 27 #include <boost/archive/impl/archive_serializer_map.ipp> 29 namespace boost {
namespace archive {
43 throw archive_exception(archive_exception::other_exception);
45 char * last = first + size - 1;
46 for(;first < last;++first, --last){
55 #endif // PORTABLE_BINARY_ARCHIVE_HPP
portable_binary_archive_flags
void reverse_bytes(signed char size, char *address)