Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function encodeAscii85
import { encodeAscii85 } from "https://deno.land/std@0.220.0/encoding/ascii85.ts";

Converts data into an ascii58-encoded string.

Examples

Example 1

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

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

Parameters

data: ArrayBuffer | Uint8Array | string
optional
options: Ascii85Options

Returns

string