getStreamsToHostWithName static method
void
getStreamsToHostWithName(
- NSString hostname, {
- required DartNSInteger port,
- required Pointer<
Pointer< inputStream,ObjCObject> > - required Pointer<
Pointer< outputStream,ObjCObject> >
getStreamsToHostWithName:port:inputStream:outputStream:
Implementation
static void getStreamsToHostWithName(
objc.NSString hostname, {
required DartNSInteger port,
required ffi.Pointer<ffi.Pointer<objc.ObjCObject>> inputStream,
required ffi.Pointer<ffi.Pointer<objc.ObjCObject>> outputStream,
}) {
objc.checkOsVersionInternal(
'NSStream.getStreamsToHostWithName:port:inputStream:outputStream:',
iOS: (false, (8, 0, 0)),
macOS: (false, (10, 10, 0)),
);
_objc_msgSend_1jknn71(
_class_NSStream,
_sel_getStreamsToHostWithName_port_inputStream_outputStream_,
hostname.ref.pointer,
port,
inputStream,
outputStream,
);
}