NSData objects are wrappers for byte buffers
See Also: Inherited members from NSObject.
|
|
Creates the NSData object from the binary representation of it. | |
|
|
Creates a NSData object from a file. Using the files contents as the contents of this NSData object. | |
|
|
Creates a NSData object from its textual representation, which is a Base64 encoded amount of bytes. |
|
override
|
Equals
(NSObject)Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSData. |
|
|
abstract
|
Equals
(NSObject)Determines if the specific NSObject is the same as the NSObject overriding this method. (Inherited from NSObject.) |
|
|
override
|
Equals
(object)Determines whether the specified object is equal to the current Claunia.PropertyList.NSData. |
|
|
|
GetBase64EncodedData
()Gets the Base64 encoded data contained in this NSData object. |
|
|
|
GetBytes
(System.IO.MemoryStream, int)Loads the bytes from this NSData object into a byte buffer. |
|
|
|
GetBytes
(System.IO.MemoryStream, int, int)Loads the bytes from this NSData object into a byte buffer. |
|
|
override
|
GetHashCode
()Serves as a hash function for a Claunia.PropertyList.NSData object. |
|
|
|
ToObject
()Converts this NSObject into an equivalent object of the .NET Runtime Environment. |
|
|
|
ToXmlPropertyList
()Generates a valid XML property list including headers using this object as root. (Inherited from NSObject.) |
|
Creates the NSData object from the binary representation of it.Syntax
public NSData (byte[] bytes)Parameters
- bytes
- The raw data contained in the NSData object.
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
Creates a NSData object from a file. Using the files contents as the contents of this NSData object.Syntax
public NSData (System.IO.FileInfo file)Parameters
- file
- The file containing the data.
Exceptions
Type Reason System.IO.FileNotFoundException If the file could not be found. System.IO.IOException If the file could not be read. 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
Creates a NSData object from its textual representation, which is a Base64 encoded amount of bytes.Syntax
public NSData (string base64)Parameters
- base64
- The Base64 encoded contents of the NSData object.
Exceptions
Type Reason FormatException When the given string is not a proper Base64 formatted string. 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
The bytes contained in this NSData object.Syntax
public byte[] Bytes { get; }Value
The data as bytesRemarks
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
Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSData.Syntax
Parameters
- obj
- The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSData.
Returns
true if the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSData; otherwise, false.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
Determines whether the specified object is equal to the current Claunia.PropertyList.NSData.Syntax
Parameters
- obj
- The object to compare with the current Claunia.PropertyList.NSData.
Returns
true if the specified object is equal to the current Claunia.PropertyList.NSData; otherwise, false.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
Gets the Base64 encoded data contained in this NSData object.Syntax
public string GetBase64EncodedData ()Returns
The Base64 encoded data as a string.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
Loads the bytes from this NSData object into a byte buffer.Syntax
Parameters
- buf
- The byte buffer which will contain the data
- length
- The amount of data to copy
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
Loads the bytes from this NSData object into a byte buffer.Syntax
Parameters
- buf
- The byte buffer which will contain the data
- rangeStart
- The start index.
- rangeStop
- The stop index.
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
Serves as a hash function for a Claunia.PropertyList.NSData object.Syntax
public override int GetHashCode ()Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.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
Gets the amount of data stored in this object.Syntax
public int Length { get; }Value
The number of bytes contained in this object.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