Instance Methodswift 6.0.3Foundation

encode(to:)

iOS
15+
macOS
12+
tvOS
15+
watchOS
8+
func encode(to encoder: any Encoder) throws