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

x/deno/cli/js/lib.deno.shared_globals.d.ts>TextDecoder#decode

A modern runtime for JavaScript and TypeScript.
Go to Latest
method TextDecoder.prototype.decode
import { TextDecoder } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.shared_globals.d.ts";

Returns the result of running encoding's decoder.

Parameters

optional
input: BufferSource
optional
options: { stream?: false; }

Returns

string