Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pollinations/pollinations
/ b64urlFromString
Function
b64urlFromString
shared/github/app-auth.ts:47–49 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
45
}
46
47
function
b64urlFromString(str: string): string {
48
return
b64urlFromBytes(
new
TextEncoder().encode(str));
49
}
50
51
function
bytesFromB64(b64: string): Uint8Array {
52
const
bin = atob(b64);
Callers
1
mintAppJwt
Function · 0.85
Calls
1
b64urlFromBytes
Function · 0.85
Tested by
no test coverage detected