Versions in this module Expand all Collapse all v1 v1.0.0 Feb 1, 2017 Changes in this version + func Dumps(ob interface{}) ([]byte, error) + func Encode(out io.Writer, ob interface{}) error + func Loads(blob []byte, v interface{}) error + type CBORTag struct + Tag uint64 + WrappedObject interface{} + type Decoder struct + TagDecoders map[uint64]TagDecoder + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Decode(v interface{}) error + type Encoder struct + func NewEncoder(out io.Writer) *Encoder + func (enc *Encoder) Encode(ob interface{}) error + type InvalidUnmarshalError struct + Type reflect.Type + func (e *InvalidUnmarshalError) Error() string + type TagDecoder interface + DecodeTarget func() interface{} + GetTag func() uint64 + PostDecode func(interface{}) (interface{}, error)