This lesson is included with Plus.
Turn small integers into fixed numbers of bytes and read them back using big-endian or little-endian order. Compare the same value in both byte orders so protocol specifications become unambiguous.