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

两个 byte 相加,返回值的类型是int #4

Closed
gaokechen opened this issue Jun 26, 2020 · 4 comments
Closed

两个 byte 相加,返回值的类型是int #4

gaokechen opened this issue Jun 26, 2020 · 4 comments

Comments

@gaokechen
Copy link

两个 byte 相加,返回值的类型并不是byte而是int,需要强制转换成byte。并且可能会超出数据有效范围出现异常值。
微信截图_20200626205929
微信截图_20200626205518

@deepnighttwo
Copy link
Owner

deepnighttwo commented Jun 26, 2020 via email

@gaokechen
Copy link
Author

专业👍👍👍

@deepnighttwo
Copy link
Owner

已经联系编辑同学了,极客时间的编辑同学会帮忙作出相应的修改的。谢谢~

@deepnighttwo
Copy link
Owner

视频和ppt已经修正,closing。

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

No branches or pull requests

2 participants