Enumeration

NSDataBase64EncodingOptions

Options for methods used to Base64 encode data.

Declaration

typedef enum NSDataBase64EncodingOptions : NSUInteger {
    ...
} NSDataBase64EncodingOptions;

Topics

Constants

NSDataBase64Encoding64CharacterLineLength

Set the maximum line length to 64 characters, after which a line ending is inserted.

NSDataBase64Encoding76CharacterLineLength

Set the maximum line length to 76 characters, after which a line ending is inserted.

NSDataBase64EncodingEndLineWithCarriageReturn

When a maximum line length is set, specify that the line ending to insert should include a carriage return.

NSDataBase64EncodingEndLineWithLineFeed

When a maximum line length is set, specify that the line ending to insert should include a line feed.

See Also

Encoding and Decoding Base64 Representations

- initWithBase64EncodedData:options:

Initializes a data object with the given Base64 encoded data.

- initWithBase64Encoding:

Initializes a data object initialized with the given Base64 encoded string.

Deprecated
- initWithBase64EncodedString:options:

Initializes a data object with the given Base64 encoded string.

- base64EncodedDataWithOptions:

Creates a Base64, UTF-8 encoded data object from the string using the given options.

- base64EncodedStringWithOptions:

Creates a Base64 encoded string from the string using the given options.

- base64Encoding

Initializes a Base64 encoded string from the string.

Deprecated
NSDataBase64DecodingOptions

Options to modify the decoding algorithm used to decode Base64 encoded 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