Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function encode
import { encode } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/encoding/utf8.ts";

Shorthand for new TextEncoder().encode()

Parameters

optional
input: string

Returns

Uint8Array