import { stringToCSTR } from "https://deno.land/x/dxx@rf/src/lib/utils.ts";
Convert s
to a WinOS-compatible NUL-terminated CSTR buffer, dropping any internal NUL characters.
NOTE: supports only ASCII characters, silently dropping non-ASCII-compatible code points without error/panic.