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 varint32 and varint32zigzag (used in protobuf) #13

Closed
wants to merge 3 commits into from

Conversation

DSergiu
Copy link

@DSergiu DSergiu commented Jul 6, 2017

Add read and write varint32 (used in protobuf)
Minor changes to reader() and writer() functions to support variable size increase of the index.

@DSergiu DSergiu changed the title Add varint32 (used in protobuf) Add varint32 and varint32zigzag (used in protobuf) Jul 6, 2017
@icewind1991
Copy link
Collaborator

Since this is protobuf specific, I'm not sure if this is the correct library to have these methods

@DSergiu
Copy link
Author

DSergiu commented Jul 6, 2017

This is the perfect library for these types or read/write as they are bit specific.
It will be nice to have these features added.
I was about to start implementing this library and I'm glad it is already implemented :)

@icewind1991
Copy link
Collaborator

It would make more sense to create a separate library that extends this one with protobuf specific methods rather than put that in here.

@DSergiu DSergiu closed this Jul 7, 2017
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.

None yet

2 participants