@@ -33,7 +33,7 @@ We propose to add additional options to `Data.Base64EncodingOptions`:
33
33
extension Data .Base64EncodingOptions {
34
34
/// Use the base64url alphabet to encode the data
35
35
@available (FoundationPreview 6.2, * )
36
- public static var base64UrlAlphabet : Base64EncodingOptions { get }
36
+ public static var base64URLAlphabet : Base64EncodingOptions { get }
37
37
38
38
/// Omit the `=` padding characters in the end of the base64 encoded result
39
39
@available (FoundationPreview 6.2, * )
@@ -48,8 +48,8 @@ extension Data.Base64DecodingOptions {
48
48
/// Modify the decoding algorithm so that it ignores unknown non-Base-64 bytes, including line ending characters.
49
49
///
50
50
/// - Warning: Using `ignoreUnknownCharacters` might allow the decoding of base64url data, even when the
51
- /// `base64UrlAlphabet ` is not selected. It might also allow using the base64 alphabet when the
52
- /// `base64UrlAlphabet ` is selected.
51
+ /// `base64URLAlphabet ` is not selected. It might also allow using the base64 alphabet when the
52
+ /// `base64URLAlphabet ` is selected.
53
53
/// Consider using the `ignoreWhitespaceCharacters` option if possible.
54
54
public static let ignoreUnknownCharacters = Base64DecodingOptions (rawValue : 1 << 0 )
55
55
@@ -61,7 +61,7 @@ extension Data.Base64DecodingOptions {
61
61
62
62
/// Modify the decoding algorithm so that it expects base64 encoded data that uses base64url alphabet.
63
63
@available (FoundationPreview 6.2, * )
64
- public static var base64UrlAlphabet : Base64EncodingOptions { get }
64
+ public static var base64URLAlphabet : Base64EncodingOptions { get }
65
65
66
66
/// Modify the decoding algorithm so that it expects no padding characters at the end of the encoded data.
67
67
///
0 commit comments