encode(_:)
Declaration
func encode<T>(_ value: T) throws -> Data where T : EncodableParameters
- value:
An encodable value to encode
Return Value
Encoded data or throws an error if unable to encode
func encode<T>(_ value: T) throws -> Data where T : EncodableAn encodable value to encode
Encoded data or throws an error if unable to encode