DagCborCodec constructor

DagCborCodec({
  1. bool strict = true,
})

Creates a new DagCborCodec instance.

strict controls decode-time canonical enforcement; encoding is always canonical regardless of this flag.

Implementation

DagCborCodec({this.strict = true});