inputStreamWithURL static method
NSInputStream?
inputStreamWithURL(
- NSURL url
inputStreamWithURL:
Implementation
static objc.NSInputStream? inputStreamWithURL(objc.NSURL url) {
objc.checkOsVersionInternal(
'NSInputStream.inputStreamWithURL:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 6, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
_class_NSInputStream,
_sel_inputStreamWithURL_,
url.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSInputStream.castFromPointer(_ret, retain: true, release: true);
}