-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataView read wrong value on msgpack deserialized data #26
Comments
I don't see what you really did and what data you have, or even where you call the msgpack code. I'd think that |
Firefox and Chrome have the same result. Here is small test demo for you: dbg_msgpack.zip Python code snippet of send one message to web page when websocket connected:
Full javascript code:
The number 1476 of the ng output, in hex is 0x05c4, is exactly the data before deserialize. |
Isn't this a bug in DataView? Sorry, I don't know what to do here. After looking up what DataView.getUint32 does, I believe that there should be no difference between the two calls. Please ask elsewhere, I can't help here. |
The data was send from Python websocket server (type: bytes), and deserialize by your msgpack (version: e33d6aa).
The text was updated successfully, but these errors were encountered: