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> * </desc>
* <term>[NSData]</term> * <term>[NSData]</term>
* <desc> * <desc>
* An array is represented as a series of pairs of hexadecimal characters * A data object is represented as a series of pairs of hexadecimal
* (each pair representing a byte of data) enclosed in angle brackets. * characters (each pair representing a byte of data) enclosed in angle
* Spaces are ignored). * brackets. (Spaces are ignored).
* <example> * <example>
* &lt; 54637374 696D67 &gt; * &lt; 54637374 696D67 &gt;
* </example> * </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 * 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. * <code>data</code> and whose content is a stream of base64 encoded bytes.
* </desc> * </desc>
@ -160,13 +164,13 @@ typedef NSUInteger NSPropertyListFormat;
* } * }
* </example> * </example>
* In XML format, a dictionary is an element whose name is * In XML format, a dictionary is an element whose name is
* <code>dictionary</code> and whose content consists of pairs of * <code>dict</code> and whose content consists of pairs of
* strings and other <em>property list</em> objects. * string <code>key</code> and other <em>property list</em> objects.
* <example> * <example>
* &lt;dictionary&gt; * &lt;dict&gt;
* &lt;string&gt;key1&lt;/string&gt; * &lt;key&gt;key1&lt;/key&gt;
* &lt;string&gt;value1&lt;/string&gt; * &lt;string&gt;value1&lt;/string&gt;
* &lt;/dictionary&gt; * &lt;/dict&gt;
* </example> * </example>
* </desc> * </desc>
* <term>[NSNumber]</term> * <term>[NSNumber]</term>