We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Due package size is taken by package.Length and not by Header.Length an exception Argument of out range is thrown. Header Size ignores the NUL value.
Parse
replace: variableDataField.Size = package.Length - variableDataField.Index; with: variableDataField.Size = Header.Length - variableDataField.Index;
variableDataField.Size = package.Length - variableDataField.Index;
variableDataField.Size = Header.Length - variableDataField.Index;
MID1202 Parsed properly
Bug solved on issue #59
Thanks for the library it has helped me a lot.
The text was updated successfully, but these errors were encountered:
#94 Consider header length instead of package length to avoid NUL cha…
101013c
…racter
Always consider header length instead of package length, to avoid NUL…
14c9782
… character, as it happened o #94 and #59
Rickedb
No branches or pull requests
Description
Due package size is taken by package.Length and not by Header.Length an exception Argument of out range is thrown.
Header Size ignores the NUL value.
Solution in Mid1202
Parse
methodreplace:
variableDataField.Size = package.Length - variableDataField.Index;
with:
variableDataField.Size = Header.Length - variableDataField.Index;
Expected behavior
MID1202 Parsed properly
Additional Information
Bug solved on issue #59
Thanks for the library it has helped me a lot.
The text was updated successfully, but these errors were encountered: