Parses property lists that are in Apple's binary format. Use this class when you are sure about the format of the property list. Otherwise use the PropertyListParser class.
Parsing is done by calling the static BinaryPropertyListParser.Parse(Byte[]), BinaryPropertyListParser.Parse(System.IO.FileInfo) and BinaryPropertyListParser.Parse(System.IO.Stream) methods.
See Also: Inherited members from object.
|
|
Protected constructor so that instantiation is fully controlled by the static parse methods. |
|
static
|
CopyOfRange
(byte[], int, int)Copies a part of a byte array into a new array. |
|
|
static
|
Parse
(byte[])Parses a binary property list from a byte array. |
|
|
static
|
Parse
(System.IO.FileInfo)Parses a binary property list file. |
|
|
static
|
Parse
(System.IO.Stream)Parses a binary property list from an input stream. |
|
|
static
|
ParseDouble
(byte[])Parses a double from a (big-endian) byte array. |
|
|
static
|
ParseDouble
(byte[], int, int)Parses a double from a (big-endian) byte array. |
|
|
static
|
ParseLong
(byte[])Parses a long from a (big-endian) byte array. |
|
|
static
|
ParseLong
(byte[], int, int)Parses a long from a (big-endian) byte array. |
|
|
static
|
ParseUnsignedInt
(byte[])Parses an unsigned integers from a byte array. |
|
|
static
|
ParseUnsignedInt
(byte[], int, int)Parses an unsigned integer from a byte array. |
|
Protected constructor so that instantiation is fully controlled by the static parse methods.Syntax
protected BinaryPropertyListParser ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Copies a part of a byte array into a new array.Syntax
Parameters
- src
- The source array.
- startIndex
- The index from which to start copying.
- endIndex
- The index until which to copy.
Returns
The copied array.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a binary property list from a byte array.Syntax
Parameters
- data
- The binary property list's data.
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason Claunia.PropertyList.PropertyListFormatException When the property list's format could not be parsed. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a binary property list file.Syntax
public static NSObject Parse (System.IO.FileInfo f)Parameters
- f
- The binary property list file
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason Claunia.PropertyList.PropertyListFormatException When the property list's format could not be parsed. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a binary property list from an input stream.Syntax
public static NSObject Parse (System.IO.Stream fs)Parameters
- fs
- The input stream that points to the property list's data.
Returns
The root object of the property list. This is usually a NSDictionary but can also be a NSArray.Exceptions
Type Reason Claunia.PropertyList.PropertyListFormatException When the property list's format could not be parsed. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a double from a (big-endian) byte array.Syntax
Parameters
- bytes
- The bytes representing the double.
Returns
The double represented by the given bytes.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a double from a (big-endian) byte array.Syntax
Parameters
- bytes
- The bytes representing the double.
- startIndex
- Beginning of the double in the byte array.
- endIndex
- End of the double in the byte array.
Returns
The double represented by the given bytes.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a long from a (big-endian) byte array.Syntax
Parameters
- bytes
- The bytes representing the long integer.
Returns
The long integer represented by the given bytes.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses a long from a (big-endian) byte array.Syntax
Parameters
- bytes
- The bytes representing the long integer.
- startIndex
- Beginning of the long in the byte array.
- endIndex
- End of the long in the byte array.
Returns
The long integer represented by the given bytes.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses an unsigned integers from a byte array.Syntax
Parameters
- bytes
- The unsigned integer represented by the given bytes.
Returns
The byte array containing the unsigned integer.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Parses an unsigned integer from a byte array.Syntax
Parameters
- bytes
- The byte array containing the unsigned integer.
- startIndex
- Beginning of the unsigned int in the byte array.
- endIndex
- End of the unsigned int in the byte array.
Returns
The unsigned integer represented by the given bytes.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0