Move ser/deser logic to JS
This commit is contained in:
parent
7e045caab1
commit
e43a13648b
7 changed files with 59 additions and 17 deletions
3
plugin/src/utils/deserialize.ts
Normal file
3
plugin/src/utils/deserialize.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export function deserialize(data: string): Uint8Array {
|
||||
return Buffer.from(data, "base64");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue