dataWithContentsOfURL$1 static method

NSMutableData? dataWithContentsOfURL$1(
  1. NSURL url, {
  2. required int options,
  3. required Pointer<Pointer<ObjCObjectImpl>> error,
})
override

dataWithContentsOfURL:options:error:

Implementation

static NSMutableData? dataWithContentsOfURL$1(
  NSURL url, {
  required int options,
  required ffi.Pointer<ffi.Pointer<objc.ObjCObjectImpl>> error,
}) {
  final $ret = _objc_msgSend_8321cp(
    _class_NSMutableData,
    _sel_dataWithContentsOfURL_options_error_,
    url.ref.pointer,
    options,
    error,
  );
  return $ret.address == 0
      ? null
      : NSMutableData.fromPointer($ret, retain: true, release: true);
}