MonoMac.Foundation.NSData: Method Members

The methods of MonoMac.Foundation.NSData are listed below. For a list of all members, see the NSData Members list.

See Also: Inherited members from MonoMac.Foundation.NSObject

Public Methods

_Save(NSUrl, int, IntPtr) : bool
Documentation for this section has not yet been entered.
_Save(string, int, IntPtr) : bool
Documentation for this section has not yet been entered.
AsStream() : System.IO.Stream
Wraps the NSData into System.IO.Stream
Find(NSData, NSDataSearchOptions, NSRange) : NSRange
Looks for the dataToFind in this NSData, based on the specified searchOptions in the specified range.
static
FromArray(byte[]) : NSData
Creates an NSData that wraps a managed C# byte array.
static
FromBytes(IntPtr, uint) : NSData
Creates an NSData from an in-memory block by specifying its address and length.
static
FromData(NSData) : NSData
Documentation for this section has not yet been entered.
static
FromFile(string) : NSData
Creates an NSData by loading the contents of the specified file into memory.
static
FromFile(string, NSDataReadingOptions, out NSError) : NSData
Creates an NSData by loading the contents of the specified file into memory.
static
FromStream(System.IO.Stream) : NSData
Creates an NSData by loading the contents of the provided stream.
static
FromString(string) : NSData
Creates an NSData for a C# string, the string is encoded in UTF8.
static
FromString(string, NSStringEncoding) : NSData
Creates an NSData for a C# string, the string is encoded using the specified encoding.
static
FromUrl(NSUrl) : NSData
Cretes an NSData with the contents in the specified url.
static
FromUrl(NSUrl, NSDataReadingOptions, out NSError) : NSData
Cretes an NSData with the contents in the specified url.
Save(NSUrl, bool, out NSError) : bool
Documentation for this section has not yet been entered.
Save(string, NSDataWritingOptions, out NSError) : bool
Documentation for this section has not yet been entered.
Save(string, bool, out NSError) : bool
Documentation for this section has not yet been entered.
override
ToString() : string
Returns a string representation of the value of the current instance.
ToString(NSStringEncoding) : NSString
Returns a string representation of the value of the current instance.