Type Definition widestring::ucstr::U32CStr [−][src]
Expand description
C-style string reference for U32CString
.
U32CStr
is aware of nul values. Unless unchecked conversions are used, all U32CStr
strings end with a nul-terminator in the underlying buffer and contain no internal nul values.
The strings may still contain invalid or ill-formed UTF-32 data. These strings are intended to
be used with FFI functions such as Windows API that may require nul-terminated strings.
U32CStr
can be converted to and from many other string types, including
U32String
, OsString
, and String
, making proper
Unicode FFI safe and easy.