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

Add a function that returns the content of the ChunkedFile #15

Open
agazso opened this issue Aug 27, 2022 · 0 comments
Open

Add a function that returns the content of the ChunkedFile #15

agazso opened this issue Aug 27, 2022 · 0 comments

Comments

@agazso
Copy link

agazso commented Aug 27, 2022

The Bee API works in a way that the /chunks endpoints expects that the data to be uploaded alongside with the span. Downloading also gives you back the 8 bytes span + the actual payload data.

In the Book of Swarm this (the span + payload) is referred as content. It would be good to have a function called content on the ChunkedFile interface that would return this so that it's easier to work with the Bee API.

Screenshot 2022-08-25 at 14 42 40

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