Function createFileAbsoluteW [src]
Same as createFileAbsolute but the path parameter is WTF-16 encoded.
Prototype
pub fn createFileAbsoluteW(absolute_path_w: [*:0]const u16, flags: File.CreateFlags) File.OpenError!File
Parameters
absolute_path_w: [*:0]const u16
flags: File.CreateFlags
Source
pub fn createFileAbsoluteW(absolute_path_w: [*:0]const u16, flags: File.CreateFlags) File.OpenError!File {
assert(path.isAbsoluteWindowsW(absolute_path_w));
return cwd().createFileW(mem.span(absolute_path_w), flags);
}