pub fn register_decoder<T: CodecConfiguration>( builder: Arc<dyn DecoderBuilder<T>>, default: bool, ) -> Result<()>