We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1904290 commit 3fef759Copy full SHA for 3fef759
src/frontend/servers/y-provider/src/utils.ts
@@ -7,3 +7,7 @@ export function logger(...args: any[]) {
7
console.log(...args);
8
}
9
10
+
11
+export const toBase64 = function (str: Uint8Array) {
12
+ return Buffer.from(str).toString('base64');
13
+};
0 commit comments