Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Nil []byte
Nil is the nil value encoded in CBOR
Functions ¶
func DecodeBytes ¶
DecodeBytes parses CBOR data in b and unpacks into v.
func MustDecode ¶
MustDecode reads CBOR data from r and unpacks into v, or panics if unable to do so.
func MustDecodeBytes ¶
func MustDecodeBytes(b []byte, v interface{})
MustDecodeBytes parses CBOR data in b and unpacks into v, or panics if unable to do so.
func MustEncode ¶
MustEncode writes v to w in CBOR format, or panics if unable to do so.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.