Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/dxx/src/lib/utils.ts

๐Ÿš€ (Deno) enhanced executor
Latest
import * as dxx from "https://deno.land/x/dxx@rf/src/lib/utils.ts";

Functions

Convert s to a WinOS-compatible NUL-terminated CSTR buffer, dropping any internal NUL characters.

Convert s to WinOS-compatible NUL-terminated wide-character string buffer (using UTF-16 encoding), dropping any internal NUL characters.

Convert x to an unsigned 32-bit integer, with modulo wrap-around.