NSPropertyList.h: mention base64 encoding

Base64 parsing is supported since 3f2fa9ddfe and it is the default since 9aa5d4cd04. We should definitely document that.
This commit is contained in:
Mingye Wang 2020-02-17 12:02:20 +08:00 committed by GitHub
parent c8cfcec652
commit c2d44f800a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,12 +117,16 @@ typedef NSUInteger NSPropertyListFormat;
* </desc>
* <term>[NSData]</term>
* <desc>
* An array is represented as a series of pairs of hexadecimal characters
* (each pair representing a byte of data) enclosed in angle brackets.
* Spaces are ignored).
* A data object is represented as a series of pairs of hexadecimal
* characters (each pair representing a byte of data) enclosed in angle
* brackets. (Spaces are ignored).
* <example>
* &lt; 54637374 696D67 &gt;
* </example>
* Base64 can be used since Base 1.24.9:
* <example>
* &lt;[VGNzdGltZw==]&gt;
* </example>
* In XML format, a data object is an element whose name is
* <code>data</code> and whose content is a stream of base64 encoded bytes.
* </desc>