UNPKG

base32-decode

Version:

Base32 decoder with support for multiple variants.

4 lines (3 loc) 165 B
type Variant = 'RFC3548' | 'RFC4648' | 'RFC4648-HEX' | 'Crockford' declare function base32Decode(input: string, variant: Variant): ArrayBuffer export = base32Decode