MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / base64

Function base64

wxapp/wb.js:62–66  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

60}
61
62function base64(value) {
63 if (!value) return "";
64 const text = typeof value === "string" ? value : JSON.stringify(value);
65 return Buffer.from(text, "utf8").toString("base64");
66}
67
68function getSign(method, apiPath, params, timestamp) {
69 let valueText = "";

Callers 1

getSignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected