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