encode(_:)
Encodes a single value of the given type.
Declaration
mutating func encode<T>(_ value: T) throws where T : EncodableParameters
- value:
The value to encode.
Encodes a single value of the given type.
mutating func encode<T>(_ value: T) throws where T : EncodableThe value to encode.