-
Notifications
You must be signed in to change notification settings - Fork 2
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
Util.intToBytes crashes #10
Comments
Also see #11. |
nfranke
pushed a commit
to nfranke/vertx-swift-eventbus
that referenced
this issue
Apr 20, 2018
If the value is over 255 then intToBytes will crash because the UInt8() cast will cause a runtime exception. I suggest changing that line to this:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the value is over 255 then intToBytes will crash because the UInt8() cast will cause a runtime exception. I suggest changing that line to this:
The text was updated successfully, but these errors were encountered: