[−][src]Trait uikit_sys::NSData_NSDataCreation
Provided methods
unsafe fn initWithBytes_length_(
self,
bytes: *const c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
self,
bytes: *const c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithBytesNoCopy_length_(
self,
bytes: *mut c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
self,
bytes: *mut c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithBytesNoCopy_length_freeWhenDone_(
self,
bytes: *mut c_void,
length: NSUInteger,
b: BOOL
) -> instancetype where
Self::Target: Message + Sized,
self,
bytes: *mut c_void,
length: NSUInteger,
b: BOOL
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithBytesNoCopy_length_deallocator_(
self,
bytes: *mut c_void,
length: NSUInteger,
deallocator: _bindgen_ty_id_145872
) -> instancetype where
Self::Target: Message + Sized,
self,
bytes: *mut c_void,
length: NSUInteger,
deallocator: _bindgen_ty_id_145872
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithContentsOfFile_options_error_(
self,
path: NSString,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
self,
path: NSString,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithContentsOfURL_options_error_(
self,
url: NSURL,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
self,
url: NSURL,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn initWithContentsOfFile_(self, path: NSString) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn initWithContentsOfURL_(self, url: NSURL) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn initWithData_(self, data: NSData) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn data() -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn dataWithBytes_length_(
bytes: *const c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
bytes: *const c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn dataWithBytesNoCopy_length_(
bytes: *mut c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
bytes: *mut c_void,
length: NSUInteger
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn dataWithBytesNoCopy_length_freeWhenDone_(
bytes: *mut c_void,
length: NSUInteger,
b: BOOL
) -> instancetype where
Self::Target: Message + Sized,
bytes: *mut c_void,
length: NSUInteger,
b: BOOL
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn dataWithContentsOfFile_options_error_(
path: NSString,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
path: NSString,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn dataWithContentsOfURL_options_error_(
url: NSURL,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
url: NSURL,
readOptionsMask: NSDataReadingOptions,
errorPtr: *mut NSError
) -> instancetype where
Self::Target: Message + Sized,
unsafe fn dataWithContentsOfFile_(path: NSString) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn dataWithContentsOfURL_(url: NSURL) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,
unsafe fn dataWithData_(data: NSData) -> instancetype where
Self::Target: Message + Sized,
Self::Target: Message + Sized,