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

Add APIs for length_prefixed parsing and serializing. #19177

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

Add APIs for length_prefixed parsing and serializing.

Only implemented on upb for first pass, will implement for cpp kernel in a followup

Note that this is the 'simplest' API to make it possible to do length-prefixed parse/serialize; as it requires the entire input to be in memory before the parsing starts it may not be ideal for some streaming parsing usecases, which is something we can improve based on demand at a later date.

Only implemented on upb for first pass, will implement for cpp kernel in a followup

Note that this is the 'simplest' API to make it possible to do length-prefixed parse/serialize; as it requires the entire input to be in memory before the parsing starts it may not be ideal for some streaming parsing usecases, which is something we can improve based on demand at a later date.

PiperOrigin-RevId: 694112905
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.

1 participant