/// Creates a new instance from the given `config`.
Creates a new instance from the given `config`.
Creates a new instance from the given ` config ` .
pub fn new(config: EncoderOptions) -> Self {
        Self {
            config,
            is_set_encoding: false,
            output: <_>::default(),
            set_buffer: <_>::default(),
        }
    }
pub fn new ( config : EncoderOptions ) -> Self { Self { config , is_set_encoding : false , output : < _ > :: default ( ) , set_buffer : < _ > :: default ( ) , } }
Creates a new instance from the given `config`.
Creates a new instance from the given ` config ` .
config
EncoderOptions