Function cStrToPrefixedFileW [src]
Same as sliceToPrefixedFileW but accepts a pointer
to a null-terminated WTF-8 encoded path.
https://simonsapin.github.io/wtf-8/
Prototype
pub fn cStrToPrefixedFileW(dir: ?HANDLE, s: [*:0]const u8) Wtf8ToPrefixedFileWError!PathSpace Parameters
dir: ?HANDLEs: [*:0]const u8 Possible Errors
Source
pub fn cStrToPrefixedFileW(dir: ?HANDLE, s: [*:0]const u8) Wtf8ToPrefixedFileWError!PathSpace {
return sliceToPrefixedFileW(dir, mem.sliceTo(s, 0));
}