Contents

encode(to:)

Serializes a section to the specified encoder.

Declaration

func encode(to encoder: any Encoder) throws

Parameters

  • encoder:

    An object that the section serializes to.