Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

encode(_:using:)

Use the provided ContentEncoder to write a value of type E to the container.
mutating func encode(_ encodable: some Encodable, using encoder: any ContentEncoder) throws