...
Now say we want to send a uint16 (unsigned short) through acomms along with a bunch of other data. Well We'll probably be constructing a long array or of bytes and copying our data into it for transmission, then picking it back out at the other end. Sticking with our simple uint16, let's look at how we can reconstruct the number given an array of bytes.
...