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