Skip to content

FixMessageImpl add MsgSeqNum throw Unparseable int: #49

@mvpwjz

Description

@mvpwjz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions