Skip Navigation
Instance MethodMethod

encode(to:)

Encodes the value in the same shape it was decoded from.

func encode(to encoder: Encoder) throws

Parameters

encoder

The encoder to write to.

Discussion