feat: add export via ccv3 charx and json

This commit is contained in:
kwaroran
2024-06-02 23:38:55 +09:00
parent 958217839b
commit 8dff1a6cde
7 changed files with 154 additions and 23 deletions

View File

@@ -34,7 +34,7 @@ class StreamChunkWriter{
}
}
}
async write(key:string, val:string){
async write(key:string, val:string|Uint8Array){
const keyData = new TextEncoder().encode(key)
const value = Buffer.from(val)