Merge pull request #99 from Artoria2e5/patch-1

NSPropertyList.h: mention base64 encoding
This commit is contained in:
rfm 2020-02-19 09:09:19 +00:00 committed by GitHub
commit c5402c028c
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>
@ -160,13 +164,13 @@ typedef NSUInteger NSPropertyListFormat;
* }
* </example>
* In XML format, a dictionary is an element whose name is
* <code>dictionary</code> and whose content consists of pairs of
* strings and other <em>property list</em> objects.
* <code>dict</code> and whose content consists of pairs of
* string <code>key</code> and other <em>property list</em> objects.
* <example>
* &lt;dictionary&gt;
* &lt;string&gt;key1&lt;/string&gt;
* &lt;dict&gt;
* &lt;key&gt;key1&lt;/key&gt;
* &lt;string&gt;value1&lt;/string&gt;
* &lt;/dictionary&gt;
* &lt;/dict&gt;
* </example>
* </desc>
* <term>[NSNumber]</term>