Encode writes an object to a stream. Implementations may return errors if the versions are incompatible, or if no conversion is defined.
(obj interface{}, w io.Writer)
| 25 | // Encode writes an object to a stream. Implementations may return errors if the versions are |
| 26 | // incompatible, or if no conversion is defined. |
| 27 | Encode(obj interface{}, w io.Writer) error |
| 28 | } |
| 29 | |
| 30 | // Decoder attempt to load an object from data. |
no outgoing calls