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

File reader changes #867

Merged
merged 4 commits into from
Mar 6, 2024
Merged

Conversation

samhocevar
Copy link
Contributor

The file reader is now a bit less platform-specific and allows to hide platform complexity.

In the long term I believe this can be used to:

  • remove kinc_image_size_from_encoded_bytes, kinc_image_init_from_callbacks etc. or at least greatly simplify the implementation
  • implement compressed file reading
  • allow the user to plug in their own filesystem implementation
  • some other simplifications in NDA platforms that we can discuss in private

- Remove kinc_file_reader_t::pos (use relative AAsset_seek() instead)
- Make kinc_file_reader_t less Android-specific
- Use the standard Unix code path when not reading an AAsset
@RobDangerous RobDangerous merged commit 57d9967 into Kode:main Mar 6, 2024
19 checks passed
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.

2 participants