cc
crate
OsStr
to a const * _
?
ID3D10Blob
question, you would call the GetBufferPointer
and GetBufferSize
methods to get the pointer and size, and pass them to std::slice::from_raw_parts
to get a &[T]
.
&[u16]
and pass it to OsStringExt::from_wide()