Skip to content

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

Merged
merged 30 commits into from
Apr 25, 2025
Merged

Add draft parser #531

merged 30 commits into from
Apr 25, 2025

Conversation

shenning00
Copy link
Contributor

@shenning00 shenning00 commented Apr 1, 2025

Changes to incorporate the draft_parser and its generated code for MOQ Draft number 10.

@shenning00
Copy link
Contributor Author

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.

@shenning00 shenning00 requested a review from RichLogan April 2, 2025 19:45
Comment on lines +32 to +37
Bytes& operator<<(Bytes& buffer, std::uint64_t value)
{
UintVar varint = value;
buffer << varint;
return buffer;
}
Copy link
Contributor

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?

Copy link
Collaborator

@TimEvens TimEvens left a 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.

@shenning00 shenning00 merged commit ef00f72 into main Apr 25, 2025
3 checks passed
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.

3 participants