-
Notifications
You must be signed in to change notification settings - Fork 53
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
如何配置大端小端读取[后期迭代] #1
Comments
Line 130 in d249d0b
dataLen = headBuffer.readInt16BE() + _dataHeadLen; 改成 dataLen = headBuffer.readInt16LE() + _dataHeadLen; |
代码已经升级支持配置大端和小端接收,见readme。支持对包头长度的定义 |
谢谢!!! |
代码里有点问题 好了 |
谢谢,已修复 |
您好,请问如何配置小端读取呢?也就是包长度的两个字节,低字节在前,高字节在后
The text was updated successfully, but these errors were encountered: