Contents

encode(to:)

Encodes the demand to the provide encoder.

Declaration

func encode(to encoder: any Encoder) throws

Parameters

  • encoder:

    An encoder instance.

See Also

Encoding and decoding