Correctly handle binary data in js runtime matches (#733)
Do not convert data to a string when passing the messages to the runtime, this can cause encoding issues in the goja vm if the content is binary data. Pass it as a JS TypedArray (Uint8Array) instead. Introduce js runtime helper functions binaryToString and stringToBinary to facilitate message data conversion. Resolves #659
Loading
Please register or sign in to comment