decode
@discordeno/utils • Docs
Documentation / @discordeno/utils / decode
Function: decode()
decode(
data
):Uint8Array
CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Decodes RFC4648 base64 string into an Uint8Array
Parameters
• data: string
Returns
Uint8Array