pwstr method
Creates a null-terminated UTF-16 string (PWSTR) from a Dart string
whose lifetime is bound to this Arena.
The string is allocated using the arena allocator and freed automatically when the arena is disposed.
Use this helper for Win32 APIs that take mutable wide strings (PWSTR).
Implementation
PWSTR pwstr(String string) => string.toPwstr(allocator: this);