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

Allow "Hidden" Buffers Used for Intermediate Decoding Steps #47

Open
rameshvarun opened this issue Jul 4, 2023 · 0 comments
Open

Allow "Hidden" Buffers Used for Intermediate Decoding Steps #47

rameshvarun opened this issue Jul 4, 2023 · 0 comments

Comments

@rameshvarun
Copy link
Owner

Currently, it is always the case that the inspector Tree is decoded exactly from the user-provided data buffer. This doesn't work for all formats, particularly those that encapsulate their data in a lossless compression step (like GZIP or Huffman).

Examples:

  • JPEG contains data compressed using Huffman encoding
  • Archive files like ZIP contain compressed data.
  • In the Ogg file format, a packet can be split across multiple pages, thereby representing a non-contiguous region

To decode these file formats, we need to be able to create an intermediate buffer, then create new Tree objects from the data in that intermediate buffer. This will have UI implications.

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