@wtasnorg/node-lib / decode85
decode85(
input,charset?):string
Defined in: base85.ts:135
Decode a Base85 string.
string
The Base85 encoded string.
The charset variant to use (default: “ascii85”).
"ascii85" |
"z85" |
"rfc1924" |
string
The decoded string.
import { decode85 } from "./base85.js";
decode85("87cURDZ");
// => "Hello"
decode85("wrx.P", "z85");
// => "test"
Error if the input contains invalid characters.