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

JT808ProtocolUtils.doEscape4Receive有问题 #13

Open
gexiaopeng opened this issue Dec 5, 2019 · 0 comments
Open

JT808ProtocolUtils.doEscape4Receive有问题 #13

gexiaopeng opened this issue Dec 5, 2019 · 0 comments

Comments

@gexiaopeng
Copy link

JT808ProtocolUtils.的doEscape4Receive方法有问题,最后一个循环for (int i = end - 1; i < bs.length; i++) {
baos.write(bs[i]);
} 应该要从上一个循环的i值开始,这里要考虑到有转义的情况。

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

1 participant