I'm still using ye ancient 32-bit machine with ye olde XP.

Currently I'm writing some code to add binary content to files, and I need to know, if the same code can be applied on 64-bit systems.
For example an integer variable added to a binary file with:
Code:
BinaryStream.Write(SomeNumberDeclaredAsInteger)
can be safely loaded with
Code:
MyInteger = BinaryStream.ReadInt32
on my system, but is this also the case on 64-bit systems or should I truncate it to Int32 before writing it to file?

Thanks in advance for any help with this
Tom