Skip to main content
Module

x/simple_utility/mod.pure.ts>textDecode

Simplify processing for Deno.
Latest
function textDecode
Re-export
import { textDecode } from "https://deno.land/x/simple_utility@v2.1.0/mod.pure.ts";

Convert from UTF-8 binary to string.

Examples

Example 1

const text = "HelloWorld!";
const encode = textEncode(text);
const decode = textDecode(encode);

Parameters

data: Uint8Array

Returns

string