Skip to main content
Module

x/polkadot/util-crypto/base64/trim.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

/** * @name base64Trim * @description Trims padding characters */export function base64Trim (value: string): string { while (value.length && value[value.length - 1] === '=') { value = value.slice(0, -1); }
return value;}