Contents

encode(to:)

Performs encoding of the value using the given encoder.

Declaration

func encode(to encoder: any Encoder) throws

Parameters

  • encoder:

    The encoder to write to.

See Also

Decoding and encoding