Documentation
¶
Overview ¶
cbor handling parallel to the json package
Index ¶
- Constants
- func IsArray(bytes []byte) bool
- func IsMap(bytes []byte) bool
- func Marshal(v interface{}) ([]byte, error)
- func NewDecoder(r io.Reader) *codec.Decoder
- func NewDecoderBytes(data []byte) *codec.Decoder
- func NewEncoder(w io.Writer) *codec.Encoder
- func NewEncoderBytes(out *[]byte) *codec.Encoder
- func Unmarshal(data []byte, v interface{}) error
- type CborType
Constants ¶
View Source
const ( CborMap = CborType(0xA0) CborArray = CborType(0x80) )
Variables ¶
This section is empty.
Functions ¶
func NewDecoderBytes ¶
func NewEncoderBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.