outputStreamWithURL static method
outputStreamWithURL:append:
Implementation
static NSOutputStream? outputStreamWithURL(
NSURL url, {
required bool append,
}) {
objc.checkOsVersionInternal(
'NSOutputStream.outputStreamWithURL:append:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 6, 0)),
);
final $ret = _objc_msgSend_17amj0z(
_class_NSOutputStream,
_sel_outputStreamWithURL_append_,
url.ref.pointer,
append,
);
return $ret.address == 0
? null
: NSOutputStream.fromPointer($ret, retain: true, release: true);
}