Skip to content

base64Decode

base64Decode(encoding, input): bytes

decode the given base64 encoded bytes

Parameters

encoding: "URLEncoding" | "StdEncoding"

The encoding of the bytes

input: Brand<string, "bytes">

The bytes to decode

Returns

bytes

Source

types/global.d.ts:1501