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

Accept arbitrary width integers in nunpack #1029

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dhdaines
Copy link
Contributor

@dhdaines dhdaines commented Aug 1, 2024

Pull request

Integers in XRef streams, among other things perhaps, do not have to be 1, 2, 4, or 8 bytes. This fixes #886.

How Has This Been Tested?

There is a regression test using the document from #886 (thanks!).

Checklist

  • [x ] I have read CONTRIBUTING.md.
  • [x ] I have added a concise human-readable description of the change to CHANGELOG.md.
  • [x ] I have tested that this fix is effective or that this feature works.
  • [x ] I have added docstrings to newly created methods and classes.
  • [x ] I have updated the README.md and the readthedocs documentation. Or verified that this is not necessary.

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.

TypeError raised by extract_text method with compressed PDF file
1 participant