Contents

encode(to:)

Performs encoding to a given encoder.

Declaration

func encode(to encoder: any Encoder) throws

Parameters

  • encoder:

    The encoder to write to.

See Also

Encoding and decoding