Bytes returns the []byte slice of the XML encoder
()
| 41 | |
| 42 | // Bytes returns the []byte slice of the XML encoder |
| 43 | func (e Encoder) Bytes() []byte { |
| 44 | return e.w.Bytes() |
| 45 | } |
| 46 | |
| 47 | // RootElement builds a root element encoding |
| 48 | // It writes it's start element tag. The value should be closed. |