Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeterministicDecOpts ¶
func NewDeterministicDecOpts() cbor.DecOptions
NewDeterministicDecOpts is used when deterministic input is expected and unsigned and signed integers should be decoded to uint64 and int64 respectively.
func NewDeterministicDecOptsConvertSigned ¶
func NewDeterministicDecOptsConvertSigned() cbor.DecOptions
NewDeterministicDecOptsConvertSigned is used when deterministic input is expected and both unsigned and signed integers should be decoded to int64
func NewDeterministicEncOpts ¶
func NewDeterministicEncOpts() cbor.EncOptions
Types ¶
type CBORCodec ¶
type CBORCodec struct {
// contains filtered or unexported fields
}
CBORCodec encode decode
func NewCBORCodec ¶
func (*CBORCodec) UnmarshalInto ¶ added in v0.12.4
type CBORConfig ¶
type CBORConfig struct { EncMode cbor.EncMode DecMode cbor.DecMode DecModeTagsForbidden cbor.DecMode }
CBORConfig provides the properties necessary to configure cbor encoding and decoding for scitt
func NewCBORConfig ¶
func NewCBORConfig( encOpts cbor.EncOptions, decOpts cbor.DecOptions, ) (CBORConfig, error)
Click to show internal directories.
Click to hide internal directories.