When handling communication channels like RS232, CAN or Telnet on Ethernet, it is sometimes necessary to send or receive a long integer as 4 bytes.
This document describes a software routine that converts a 32 bit integer held in a VR to 4 bytes for transmission. The second part shows the reverse operation, converting 4 bytes back to a long integer.