encode(to:)
Performs the inverse of the decoding process.
Declaration
func encode(to encoder: any Encoder) throwsParameters
- encoder:
The encoder to use when encoding this value.
Performs the inverse of the decoding process.
func encode(to encoder: any Encoder) throwsThe encoder to use when encoding this value.