Create a wide string buffer (wchar_t, null-terminated).
On Windows, this is UTF-16LE. On Unix, UTF-32.
Python equivalent: ctypes.create_unicode_buffer. As with
create_string_buffer, the result is a Buffer: length counts bytes
(Python's len() counts characters: use sizeof(buf) / sizeof(c_wchar));
.value takes only a string.
Create a wide string buffer (wchar_t, null-terminated).
On Windows, this is UTF-16LE. On Unix, UTF-32.
Python equivalent:
ctypes.create_unicode_buffer. As with create_string_buffer, the result is a Buffer:lengthcounts bytes (Python'slen()counts characters: usesizeof(buf) / sizeof(c_wchar));.valuetakes only a string.