-
Notifications
You must be signed in to change notification settings - Fork 8
Add draft parser #531
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
Add draft parser #531
Conversation
Added CMAKE_POLICY_VERSION_MINIMUM to get past doctest having an unsupported cmake verion.
Okay - after struggling with compiler differences I think this is ready to have some eyes on it. There are still some comments with my initials ("SAH"). Let you know if you see any issues. There seems to be a lot of changes - but a lot of them are change names. I use the draft as the authoritative source for names. |
Bytes& operator<<(Bytes& buffer, std::uint64_t value) | ||
{ | ||
UintVar varint = value; | ||
buffer << varint; | ||
return buffer; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to do this? Should we instead wrap integers we want to be uvarint encoded in place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with this and evolve it as we progress.
Changes to incorporate the draft_parser and its generated code for MOQ Draft number 10.