Instance Method


Returns Base-64 encoded data.


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



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

Return Value

The Base-64 encoded data.

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