Creates a decoder function.
the format of the sample.
The decoder function, or null if format not supported.
See Implementation
Creates a decoder function.