Skip to content

Conversation

@threewholefish
Copy link

No description provided.

Ethan Haley added 2 commits May 11, 2022 18:34
The assertion for <= is only correct for the first group in a message,
but it is bad for any subsequent groups
@kizzx2
Copy link
Owner

kizzx2 commented May 15, 2022

Can you provide a motivating use case / example data for why this is needed?

@threewholefish
Copy link
Author

It is valid for the sum of the sizes of the message fields to be less than the stated block length, in which case padding must be applied.
For example, the message MDIncrementalRefreshTradeSummary42 in the CME MDP3 spec has a block length of 11, but the sizes of its fields only sum to 9, requiring 2 bytes of padding.

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

Successfully merging this pull request may close these issues.

2 participants