Skip to content
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

Fix CBOR native array decoding offset #318

Merged

Conversation

mvollrath
Copy link
Contributor

Typed array decoding was broken when the typed array was not the last item in the encoded message. Added a failing test then fixed it.

Use correct offset and length when slicing the message buffer.

Add a test to reveal the breakage.
@jihoonl jihoonl merged commit fcff531 into RobotWebTools:develop Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants