Closed gcmartijn closed 4 years ago
Hi,
How do you write the data to a file ?
I did try some things (trail and error)
function createMsgPack(jsonData) { let bl = encode(jsonData) if (decode(bl) !== jsonData) { console.log("Cannot encode to msgPack") return false } // write the encode data to a file. // fs.createWriteStream('file.mp') }
Thanks !
Oops wrong git repo haha ;)
Hi,
How do you write the data to a file ?
I did try some things (trail and error)
Thanks !