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

FixMessageImpl add MsgSeqNum throw Unparseable int: #49

Open
mvpwjz opened this issue Sep 14, 2022 · 0 comments
Open

FixMessageImpl add MsgSeqNum throw Unparseable int: #49

mvpwjz opened this issue Sep 14, 2022 · 0 comments

Comments

@mvpwjz
Copy link

mvpwjz commented Sep 14, 2022

image
When my MsgSeqNum is 1, I want add it to FixMessageImpl, so I invoke message.add(int tagNum, byte[] value). First I turn MsgSeqNum from int to byte[], The byte array i get is [0, 0, 0, 1], it will go to IntField. In this function, It find if (digit > 9 || digit < 0) It will throw a expetion, but [0, 0, 0, 1] to int.The result is 1, but by the function it throw a exception so I think it will be a bug.

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