Extract library from plugin
This commit is contained in:
parent
8374c971ee
commit
ae3acb9e1e
1 changed files with 61 additions and 77 deletions
5
sync-client/src/utils/serialize.ts
Normal file
5
sync-client/src/utils/serialize.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { bytesToBase64 } from "byte-base64";
|
||||
|
||||
export function serialize(data: Uint8Array): string {
|
||||
return bytesToBase64(data);
|
||||
}
|
||||
Loading…
Reference in a new issue