Contents

encode(to:)

Performs the inverse of the decoding process.

Declaration

func encode(to encoder: any Encoder) throws

Parameters

  • encoder:

    The encoder to use when encoding this value.