I guess this covers it?
http://www.boost.org/doc/libs/1_38_0/libs/serialization/doc/special.html#numerics

On Thu, Apr 2, 2009 at 4:02 PM, Robert Dailey <rcdailey@gmail.com> wrote:
If I choose to serialize a variable with type "int", is this portable? For example, if I stream out this value on a 64-bit system, and then load it in on a 32-bit system, will this result in a buffer-overrun or anything else weird? I read the serialization docs but didn't see this topic in there. Sorry if I missed it.

Help is appreciated. Thank you.