func (e *Encoder) Close() (err error) {
	defer handleErr(&err)
	e.encoder.finish()
	return nil
}
func (e *Encoder) Close() (err error) {
	defer handleErr(&err)
	e.encoder.finish()
	return nil
}
func ( e * Encoder ) Close ( ) ( err error ) { defer handleErr ( & err ) e . encoder . finish ( ) return nil }
// Close closes the encoder by writing any remaining data.
// It does not write a stream terminating string "...".
Close closes the encoder by writing any remaining data . It does not write a stream terminating string ... .