toDartString method
Converts this BSTR to a Dart string.
Any embedded NUL characters are preserved in the resulting Dart string.
Implementation
@pragma('vm:prefer-inline')
String toDartString() => .fromCharCodes(cast<WCHAR>().asTypedList(length));
Converts this BSTR to a Dart string.
Any embedded NUL characters are preserved in the resulting Dart string.
@pragma('vm:prefer-inline')
String toDartString() => .fromCharCodes(cast<WCHAR>().asTypedList(length));