pub fn create_decoder(encoding: EncodingV2) -> Box<dyn Decoder>
Create a decoder for the given encoding type.