function base64ToBase64Url base64ToBase64Url(b64: string): string Convert standard base64 to base64url (no padding). Works on both strings and Uint8Array (bytes are first encoded to base64). Parameters b64: string Return Type string