You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PrivateFile::stream_content() takes an index parameter that is passed to the private forest content when the file content is external. However in the case of inline content, the whole vector is yieled in
Sorry. The index actually refers to the block index, not the byte index. We should fix the docs and provide an abstraction on top that does the conversation between block and byte indices.
PrivateFile::stream_content()
takes anindex
parameter that is passed to the private forest content when the file content is external. However in the case of inline content, the whole vector is yieled inrs-wnfs/wnfs/src/private/file.rs
Line 489 in 6df4a6b
I think we should instead
yield data[index..].to_vec()
The text was updated successfully, but these errors were encountered: