DataEncoding
public enum DataEncoding
Encoding to use for Data
values.
-
Defers encoding to the
Data
type.Declaration
Swift
case deferredToData
-
Encodes
Data
as a Base64-encoded string. This is the default encoding.Declaration
Swift
case base64
-
Encode the
Data
as a custom value encoded by the given closure.Declaration
Swift
case custom((Data) throws -> String)