Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/encoding/ascii85.ts>decodeAscii85

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function decodeAscii85
import { decodeAscii85 } from "https://deno.land/std@0.222.0/encoding/ascii85.ts";

Decodes a ascii85-encoded string.

Examples

Example 1

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

decodeAscii85("87cURD]j7BEbo80");
// Uint8Array(12) [ 72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33 ]

Parameters

ascii85: string

The ascii85-encoded string to decode.

optional
options: Ascii85Options

Options for decoding.

Returns

Uint8Array

The decoded data.