Almost all .NET data types are defined in their bytes (with the exception of IntPtr, which differs depending on your target architecture). Therefore, serializing any .NET object will serialize the same size of this object regardless of your architecture. Fortunately, no special work is required on your part. Good luck
Mike source
share