Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + func Read(r io.Reader, v interface{}, decoder DecodeFunc) error + func ReadGOB(r io.Reader, v interface{}) error + func ReadGZIP(r io.Reader) ([]byte, error) + func ReadJSON(r io.Reader, v interface{}) error + func ReadString(r io.Reader) (string, error) + func ReadXML(r io.Reader, v interface{}) error + func Write(w io.Writer, v interface{}, encoder EncodeFunc) error + func WriteGOB(w io.Writer, v interface{}) error + func WriteGZIP(w io.Writer, v interface{}) (err error) + func WriteJSON(w io.Writer, v interface{}) error + func WriteString(w io.Writer, str string) (int, error) + func WriteXML(w io.Writer, v interface{}) error + type DecodeFunc func([]byte, interface{}) error + type EncodeFunc func(interface{}) ([]byte, error)