Flush flushes any buffered XML to the underlying writer. See the EncodeToken documentation for details about when it is necessary.
()
| 305 | // Flush flushes any buffered XML to the underlying writer. |
| 306 | // See the EncodeToken documentation for details about when it is necessary. |
| 307 | func (enc *Encoder) Flush() error { |
| 308 | return enc.p.w.Flush() |
| 309 | } |
| 310 | |
| 311 | // Close the Encoder, indicating that no more data will be written. It flushes |
| 312 | // any buffered XML to the underlying writer and returns an error if the |
no outgoing calls
no test coverage detected