Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EncMode = func() cbor.EncMode { options := cbor.CoreDetEncOptions() options.Time = cbor.TimeRFC3339Nano encMode, err := options.EncMode() if err != nil { panic(fmt.Errorf("could not extract encoding mode: %w", err)) } return encMode }()
"For best performance, reuse EncMode and DecMode after creating them." [1] [1] https://github.com/fxamacker/cbor
Functions ¶
This section is empty.
Types ¶
type Marshaler ¶ added in v0.23.2
type Marshaler struct{}
func NewMarshaler ¶ added in v0.23.2
func NewMarshaler() *Marshaler
func (*Marshaler) MustMarshal ¶ added in v0.23.2
func (*Marshaler) MustUnmarshal ¶ added in v0.23.2
Click to show internal directories.
Click to hide internal directories.