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

Minimise extra data retrieved when requesting a file stream #16

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

digitaldogsbody
Copy link
Owner

This PR makes a tiny enhancement, by retrieving only the absolutely necessary data when preparing a file stream for the end user. We sadly can't avoid the extra read (see #12 for details) but we can make it so we only need 4 bytes!

@digitaldogsbody digitaldogsbody merged commit a385c6e into main Oct 5, 2022
@digitaldogsbody digitaldogsbody deleted the issue-12 branch October 5, 2022 16:56
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.

1 participant