Instance Method


Returns a Base-64 encoded string.


func base64EncodedString(options: Data.Base64EncodingOptions = []) -> String



The options to use for the encoding. Default value is [].

Return Value

The Base-64 encoded string.

See Also

Base-64 Encoding

typealias Data.Base64DecodingOptions

Options to use when decoding data.

typealias Data.Base64EncodingOptions

Options to use when encoding data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software