func (dagOpts) InputEnc(enc string) DagPutOption {
	return func(opts *DagPutSettings) error {
		opts.InputEnc = enc
		return nil
	}
}
func (dagOpts) InputEnc(enc string) DagPutOption {
	return func(opts *DagPutSettings) error {
		opts.InputEnc = enc
		return nil
	}
}
// InputEnc is an option for Dag.Put which specifies the input encoding of the
// data. Default is "json", most formats/codecs support "raw".