Generic function output decoder.
Encodes function output and creates a Decoder instance.
Decoder
Decodes function output.
Encodes function input.