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

size computations #40

Merged
merged 4 commits into from
Mar 1, 2023
Merged

size computations #40

merged 4 commits into from
Mar 1, 2023

Conversation

arnetheduck
Copy link
Member

  • add Protobuf.computeSize to compute the encoded size of an object
  • readd VarIntLengthPrefix support
  • don't expose loosely typed writeValue for objects that might conflict with other serializers
  • ensure all writeValue and writeField are tagged with a codec type
  • avoid writing all-defaults proto3 object fields

* add `Protobuf.computeSize` to compute the encoded size of an object
* readd `VarIntLengthPrefix` support
* don't expose loosely typed `writeValue` for objects that might
conflict with other serializers
* ensure all `writeValue` and `writeField` are tagged with a `codec`
type
* avoid writing all-defaults proto3 object fields
@lchenut lchenut mentioned this pull request Feb 13, 2023
@arnetheduck arnetheduck merged commit 0ef1a14 into master Mar 1, 2023
@arnetheduck arnetheduck deleted the compute-size branch March 1, 2023 11:19
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