encode(_:)
Encodes an instance of the indicated type.
Declaration
func encode<T>(_ value: T) throws -> Self.Output where T : EncodableParameters
- value:
The instance to encode.
Encodes an instance of the indicated type.
func encode<T>(_ value: T) throws -> Self.Output where T : EncodableThe instance to encode.