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

Handle corner case where the last bit string to encode only has zeros #3

Open
danielbosnich opened this issue Aug 16, 2021 · 0 comments
Assignees

Comments

@danielbosnich
Copy link
Owner

There's a corner case that can cause the final character to be wrong when uncompressing the compressed file.

If the last character written to the compressed file is 0, then when uncompressing that character it's impossible to know how many 0 bits made up that last byte.

@danielbosnich danielbosnich self-assigned this Aug 16, 2021
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

No branches or pull requests

1 participant