Encoder writes encoded value to an output stream.
| 71 | |
| 72 | // Encoder writes encoded value to an output stream. |
| 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 |
| 79 | // the codecs that are available. |
no outgoing calls
no test coverage detected