Encoding and Decoding

The following procedure and example deal with the general encoding and decoding process: