
10 Sep
2006
10 Sep
'06
2:58 p.m.
Hi all, I need to make a modified version of binary archive so that it can read data serialized on a different platform. Specifically, I have a lot of files written with binary serializer on x86, and now I need to read them into application built on x64 platform ( sizeof(size_t) == 8 ). Obvious place to fix would be the load() functions in boost\archive\impl\basic_binary_iprimitive.ipp, replacing the std::size_t declaration with unsigned int. Are there less obvious places in the archive format that are dependent on the pointer size ? Thanks