Documentation
¶
Overview ¶
Package cbor provides CBOR (Concise Binary Object Representation) format support for neoma content negotiation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCBORFormat = core.Format{ Marshal: func(w io.Writer, v any) error { return cborEncMode.NewEncoder(w).Encode(v) }, Unmarshal: cbor.Unmarshal, }
DefaultCBORFormat is a pre-configured core.Format that marshals and unmarshals CBOR using canonical sort order and shortest float encoding.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.