Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/js/web/text_encoding.ts>TextEncoder#encode

A modern runtime for JavaScript and TypeScript.
Go to Latest
method TextEncoder.prototype.encode
import { TextEncoder } from "https://deno.land/x/deno@v1.0.0/cli/js/web/text_encoding.ts";

Parameters

optional
input = [UNSUPPORTED]

Returns

Uint8Array