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

std/encoding/ascii85.ts>encodeAscii85

The Deno Standard Library
Latest
function encodeAscii85
import { encodeAscii85 } from "https://deno.land/std@0.224.0/encoding/ascii85.ts";

Converts data into an ascii58-encoded string.

Examples

Example 1

import { encodeAscii85 } from "https://deno.land/std@0.224.0/encoding/ascii85.ts";

encodeAscii85("Hello world!"); // "87cURD]j7BEbo80"

Parameters

data: ArrayBuffer | Uint8Array | string
optional
options: Ascii85Options

Returns

string