Encode writes the codec data of v to the output stream.
(v interface{})
| 73 | type Encoder interface { |
| 74 | // Encode writes the codec data of v to the output stream. |
| 75 | Encode(v interface{}) error |
| 76 | } |
| 77 | |
| 78 | // AcceptEncoder creates an new encoder for w based on the acceptHeader, the edit mode and |
no outgoing calls