My machine is little-endian (Intel byte order). I need to read a binary file containing 16-bit signed integer data in Motorola/IEEE byte order ("big-endian"), then do some calculations, and finally write the resulting integer
data in a big-endian binary file.
How do I do the above in VBA, i.e. convert big-endian into little-endian and vice-versa?
The reason is, I'm processing NASA Shuttle Radar Topography Mission data (HGT file format).
And a good day to you.