C# Class ThirdParty.iOS4Unity.NSData

Inheritance: NSObject
Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AsStream ( ) : Stream
FromArray ( byte buffer ) : NSData
FromBytes ( IntPtr bytes, uint size ) : NSData
FromBytesNoCopy ( IntPtr bytes, uint size ) : NSData
FromBytesNoCopy ( IntPtr bytes, uint size, bool freeWhenDone ) : NSData
FromData ( NSData source ) : NSData
FromFile ( string path ) : NSData
FromFile ( string path, NSDataReadingOptions mask, NSError &error ) : NSData
FromUrl ( string url ) : NSData
FromUrl ( string url, NSDataReadingOptions mask, NSError &error ) : NSData
Save ( string path, bool atomically = true ) : bool
ToArray ( ) : byte[]
this ( int index ) : byte

Private Methods

Method Description
NSData ( ) : System
NSData ( IntPtr handle ) : System

Method Details

AsStream() public method

public AsStream ( ) : Stream
return Stream

FromArray() public static method

public static FromArray ( byte buffer ) : NSData
buffer byte
return NSData

FromBytes() public static method

public static FromBytes ( IntPtr bytes, uint size ) : NSData
bytes System.IntPtr
size uint
return NSData

FromBytesNoCopy() public static method

public static FromBytesNoCopy ( IntPtr bytes, uint size ) : NSData
bytes System.IntPtr
size uint
return NSData

FromBytesNoCopy() public static method

public static FromBytesNoCopy ( IntPtr bytes, uint size, bool freeWhenDone ) : NSData
bytes System.IntPtr
size uint
freeWhenDone bool
return NSData

FromData() public static method

public static FromData ( NSData source ) : NSData
source NSData
return NSData

FromFile() public static method

public static FromFile ( string path ) : NSData
path string
return NSData

FromFile() public static method

public static FromFile ( string path, NSDataReadingOptions mask, NSError &error ) : NSData
path string
mask NSDataReadingOptions
error NSError
return NSData

FromUrl() public static method

public static FromUrl ( string url ) : NSData
url string
return NSData

FromUrl() public static method

public static FromUrl ( string url, NSDataReadingOptions mask, NSError &error ) : NSData
url string
mask NSDataReadingOptions
error NSError
return NSData

Save() public method

public Save ( string path, bool atomically = true ) : bool
path string
atomically bool
return bool

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

this() public method

public this ( int index ) : byte
index int
return byte