encode(_:forKey:)
Encodes the given value for the given key.
Declaration
mutating func encode(_ value: Int16, forKey key: KeyedEncodingContainer<K>.Key) throwsParameters
- value:
The value to encode.
- key:
The key to associate the value with.
Encodes the given value for the given key.
mutating func encode(_ value: Int16, forKey key: KeyedEncodingContainer<K>.Key) throwsThe value to encode.
The key to associate the value with.