func (c Codec) NewEncoder(w io.Writer) *Encoder {
	return NewEncoder(c.NewEmitter(w))
}
func (c Codec) NewEncoder(w io.Writer) *Encoder {
	return NewEncoder(c.NewEmitter(w))
}
func ( c Codec ) NewEncoder ( w io . Writer ) * Encoder { return NewEncoder ( c . NewEmitter ( w ) ) }
// NewEncoder returns a new encoder that outputs to w.
NewEncoder returns a new encoder that outputs to w .