Initializer

init(base64Encoding:)

Returns a data object initialized with the given Base-64 encoded string.

Declaration

init?(base64Encoding base64String: String)

See Also

Base-64 Encoding

init?(base64Encoded: Data, options: NSData.Base64DecodingOptions = [])

Returns a data object initialized with the given Base-64 encoded data.

init?(base64Encoded: String, options: NSData.Base64DecodingOptions = [])

Returns a data object initialized with the given Base-64 encoded string.

func base64EncodedData(options: NSData.Base64EncodingOptions = [])

Create a Base-64, UTF-8 encoded data object from the receiver's contents using the given options.

func base64EncodedString(options: NSData.Base64EncodingOptions = [])

Create a Base-64 encoded string from the receiver's contents using the given options.

struct NSData.Base64EncodingOptions

Options for methods used to Base-64 encode data.

struct NSData.Base64DecodingOptions

Options to modify the decoding algorithm used to decode Base-64 encoded data objects.

func base64Encoding()

Create a Base-64 encoded string from the receiver's contents.

Deprecated