stringWithCString static method
stringWithCString:encoding:
Implementation
static NSMutableString? stringWithCString(
ffi.Pointer<ffi.Char> cString, {
required int encoding,
}) {
final $ret = _objc_msgSend_erqryg(
_class_NSMutableString,
_sel_stringWithCString_encoding_,
cString,
encoding,
);
return $ret.address == 0
? null
: NSMutableString.fromPointer($ret, retain: true, release: true);
}