MonoTouch.Foundation.NSData Members

The members of MonoTouch.Foundation.NSData are listed below.

See Also: Inherited members from MonoTouch.Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
BytesIntPtr. Returns a pointer to the data held by this NSData.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
default property
Item(int)byte. Retrieves the byte at the specified position in the NSData object.
Lengthuint. The size of the contents wrapped by this NSData.

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
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
EnumerateByteRange(NSDataByteRangeEnumerator)
Documentation for this section has not yet been entered.
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
FromBytesNoCopy(IntPtr, uint) : NSData
Documentation for this section has not yet been entered.
static
FromBytesNoCopy(IntPtr, uint, bool) : NSData
Documentation for this section has not yet been entered.
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.
GetBase64EncodedData(NSDataBase64EncodingOptions) : NSData
Documentation for this section has not yet been entered.
GetBase64EncodedString(NSDataBase64EncodingOptions) : string
Documentation for this section has not yet been entered.
MutableCopy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
Save(NSUrl, bool) : bool
Documentation for this section has not yet been entered.
Save(string, bool) : bool
Documentation for this section has not yet been entered.
Save(NSUrl, NSDataWritingOptions, out NSError) : bool
Documentation for this section has not yet been entered.
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.
ToArray() : byte[]
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.

Public Operators

static
Conversion to MonoTouch.Foundation.NSData(Implicit)Implicit conversion from string to an NSData encoded as UTF8.

Explicitly Implemented Interface Members

IEnumerable<byte>.GetEnumeratorEnumerator for the NSData contents.
IEnumerable.GetEnumeratorEnumerator for the NSData contents.