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

Partial reads #1

Open
reynir opened this issue Feb 28, 2024 · 1 comment
Open

Partial reads #1

reynir opened this issue Feb 28, 2024 · 1 comment

Comments

@reynir
Copy link
Collaborator

reynir commented Feb 28, 2024

For some use cases it is desirable to read the data in chunks. A challenge is what to do about the data checksum. The checksum can only verify the data if the whole file is read. One could implement a streaming interface where a handle is used to read the data in chunks while computing a running checksum, and the status of the checksum is returned at the end. Another option is to just offer random access and do nothing about the checksum.

Partial or chunked writes could also be interesting (with their own challenges).

@hannesm
Copy link
Contributor

hannesm commented Nov 8, 2024

see 6a4045f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants