node-jpickle
node-jpickle copied to clipboard
Fix opcode switch statement & long1 parsing
Realised that always running String.fromCharCode
will break compatibility with node, but fixes compatibility with the buffer polyfill I am using on the web. (https://github.com/feross/buffer)
Might be an idea to check if it is a string before running the switch statement, or just removing that change entirely.