MCPcopy Create free account
hub / github.com/denoland/std / decodeBase64Url

Function decodeBase64Url

encoding/base64url.ts:77–82  ·  view source on GitHub ↗
(b64url: string)

Source from the content-addressed store, hash-verified

75 * ```
76 */
77export function decodeBase64Url(b64url: string): Uint8Array_ {
78 const output = new TextEncoder().encode(b64url) as Uint8Array_;
79 // deno-lint-ignore no-explicit-any
80 return new Uint8Array((output.buffer as any)
81 .transfer(decode(output, 0, 0, rAlphabet, padding)));
82}

Callers 1

base64url_test.tsFile · 0.90

Calls 1

decodeFunction · 0.90

Tested by

no test coverage detected