import { TextEncoder } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";
Methods
encode(input?: string): Uint8Array
Returns the result of running UTF-8's encoder.
encodeInto(input: string, dest: Uint8Array): { read: number; written: number; }