inclusion of doctest for the class. allow the decoder to receive variable integer, float, long or datetime