func (dagOpts) Codec(codec uint64) DagPutOption {
	return func(settings *DagPutSettings) error {
		settings.Codec = codec
		return nil
	}
}
// Codec is an option for Dag.Put which specifies the multicodec to use to
// serialize the object. Default is cid.DagCBOR (0x71)
Codec is an option for Dag.Put which specifies the multicodec to use to
serialize the object. Default is cid.DagCBOR (0x71)
// Codec is an option for Dag . Put which specifies the multicodec to use to // serialize the object . Default is cid . DagCBOR ( 0x71 )
func (dagOpts) Codec(codec uint64) DagPutOption {
	return func(settings *DagPutSettings) error {
		settings.Codec = codec
		return nil
	}
}
func ( dagOpts ) Codec ( codec uint64 ) DagPutOption { return func ( settings * DagPutSettings ) error { settings . Codec = codec return nil } }
Codec is an option for Dag.Put which specifies the multicodec to use to
serialize the object.
Codec is an option for Dag . Put which specifies the multicodec to use to serialize the object .