Documentation ¶
Overview ¶
Package cbor contains a codec implementation that marshals in CBOR format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCodec = Codec{}
DefaultCodec is a marshalkit.Codec that marshals messages using CBOR encoding.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct{}
Codec is an implementation of marshalkit.Codec that uses CBOR encoding.
func (Codec) BasicMediaType ¶
BasicMediaType returns the type and subtype portion of the media-type used to identify data encoded by this codec.
Click to show internal directories.
Click to hide internal directories.