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

Makes Entry.dataOffset public #277

Conversation

bitwisejb
Copy link

Fixes #274

Changes proposed in this PR

The archive I am working with has map imagery stored in a folder structure designating levels and tile positions. One entry in the archive is an index for locating tile image data for a given xyz. We use xyz to determine the entry and offset for the image to extract. Byte count is known to us based on information in the index entry.

This change exposes Entry.dataOffset. This will allow other applications to pull raw bytes out of the archive given he entry and byte count.

  • Verified existing tests work.
  • Ran SwiftLint and saw no issues.

@bitwisejb bitwisejb force-pushed the enhancement/exposes_entry_data_offset branch from 98bb3d7 to db22131 Compare November 2, 2023 20:39
@bitwisejb bitwisejb closed this Nov 9, 2023
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.

Ability to read data from archive given byte offset and size
1 participant