MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / encodeDecode

Function encodeDecode

apps/toolbox/src/pages/winter-tc.ts:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40export function encodeDecode() {
41 const encoded = btoa('Osei');
42
43 console.log(encoded);
44
45 console.log(atob(encoded) === 'Osei');
46}
47
48async function gen_hmac() {
49 let message = 'Hello World';

Callers

nothing calls this directly

Calls 3

btoaFunction · 0.85
atobFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected