stringWithCString$1 static method
stringWithCString:
Implementation
static objc.ObjCObjectBase? stringWithCString$1(ffi.Pointer<ffi.Char> bytes) {
objc.checkOsVersionInternal(
'NSString.stringWithCString:',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_56zxyn(
_class_NSString,
_sel_stringWithCString_,
bytes,
);
return _ret.address == 0
? null
: objc.ObjCObjectBase(_ret, retain: true, release: true);
}