I’m trying to deserialize a byte array which I believe is a Uint8 array from Godot into a javascript object in a node process.
My current implementation is :
const message = Buffer.from(buffer.data, 'ascii');
console.log('message', message.toString('utf8'))
This is outputting stuff like : �a@
How can I deserialize this object without Godot’s bytes2var in a node process?