Example #1
0
        /// <summary>
        /// Parses a binary property list from a byte array.
        /// </summary>
        /// <param name="data">The binary property list's data.</param>
        /// <returns>The root object of the property list. This is usually a NSDictionary but can also be a NSArray.</returns>
        /// <exception cref="PropertyListFormatException">When the property list's format could not be parsed.</exception>
        public static NSObject Parse(byte[] data)
        {
            BinaryPropertyListParser parser = new BinaryPropertyListParser();

            return(parser.DoParse(data));
        }