initWithContentsOfURL$1 method
NSData?
initWithContentsOfURL$1(
- NSURL url, {
- required int options,
- required Pointer<
Pointer< error,ObjCObjectImpl> >
initWithContentsOfURL:options:error:
Implementation
NSData? initWithContentsOfURL$1(
NSURL url, {
required int options,
required ffi.Pointer<ffi.Pointer<objc.ObjCObjectImpl>> error,
}) {
final $ret = _objc_msgSend_8321cp(
object$.ref.retainAndReturnPointer(),
_sel_initWithContentsOfURL_options_error_,
url.ref.pointer,
options,
error,
);
return $ret.address == 0
? null
: NSData.fromPointer($ret, retain: false, release: true);
}