In this section, we implement and discuss the ``Trivial Decoder'', which illustrates the use of the decoding functions. We start with the absolute minimum and then add more features and actually end up with a limited, but useful tool. For a full-scale frontend, look at the implementation of the ``UUDeview'' program. The sample code can be found among the documentation files as td-v1.c, td-v2.c and td-v3.c.