import { textEncode } from "https://deno.land/x/png_mimic@v1.0.3/deps.ts";
Convert from string to UTF-8 binary.
Examples
Example 1
Example 1
const text = "HelloWorld!";
const encode = textEncode(text);
const decode = textDecode(encode);
import { textEncode } from "https://deno.land/x/png_mimic@v1.0.3/deps.ts";
Convert from string to UTF-8 binary.
Example 1
const text = "HelloWorld!";
const encode = textEncode(text);
const decode = textDecode(encode);