MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / arrayToBase64url

Function arrayToBase64url

shared/src/binary.ts:26–28  ·  view source on GitHub ↗
(bytes: Uint8Array<ArrayBuffer>)

Source from the content-addressed store, hash-verified

24}
25
26export function arrayToBase64url(bytes: Uint8Array<ArrayBuffer>): Base64Url {
27 return toBase64URL(arrayToBase64(bytes))
28}
29
30export function base64urlToArray(base64: Base64Url): Uint8Array<ArrayBuffer> {
31 return base64ToArray(fromBase64URL(base64))

Callers 11

buildPrivateTokenFunction · 0.90
generateCsrfFunction · 0.90
toNoteCreateFunction · 0.90
toTemplateCreateFunction · 0.90
mapIdToBase64UrlFunction · 0.90
dbIdToBase64UrlFunction · 0.90
kysely.tsFile · 0.90
buildPublicTokenFunction · 0.90
binary.test.tsFile · 0.90
base64urlIdFunction · 0.85
base64urlIdWithTimeFunction · 0.85

Calls 2

toBase64URLFunction · 0.85
arrayToBase64Function · 0.85

Tested by

no test coverage detected