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 "best size" encoding/decoding methods #1

Open
SeanTAllen opened this issue Sep 9, 2017 · 0 comments
Open

Add "best size" encoding/decoding methods #1

SeanTAllen opened this issue Sep 9, 2017 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@SeanTAllen
Copy link
Collaborator

SeanTAllen commented Sep 9, 2017

When writing a value that is part of a U16, U32 etc, they value might possibly be represented in a smaller value. Add methods/functionality to allow this to happen.

Note, this should be a separate method so any additional processing overhead is not incurred if speed of encoding is valued over compactness of representation.

This might require changes to decoding as well to take a value that was encoded as a U8 but we are expecting as a U16 to get it back as a U16.

@SeanTAllen SeanTAllen changed the title Add "best performance" methods Add "best performance" encoding methods Sep 10, 2017
@SeanTAllen SeanTAllen changed the title Add "best performance" encoding methods Add "best size" encoding methods Dec 3, 2017
@SeanTAllen SeanTAllen added enhancement New feature or request help wanted Extra attention is needed labels Dec 9, 2017
@SeanTAllen SeanTAllen changed the title Add "best size" encoding methods Add "best size" encoding/decoding methods Dec 9, 2017
@SeanTAllen SeanTAllen added the good first issue Good for newcomers label Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant