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

std/encoding/ascii85.ts>decodeAscii85

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

Decodes a ascii85-encoded string.

Examples

Example 1

import { decodeAscii85 } from "https://deno.land/std@0.224.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.