Go to Latest
function encodeAscii85
import { encodeAscii85 } from "https://dotland.deno.dev/std@0.215.0/encoding/ascii85.ts";

Converts data into an ascii58-encoded string.

Examples

Example 1

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

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

Parameters

data: ArrayBuffer | Uint8Array | string
optional
options: Ascii85Options

Returns

string