Skip to content

Support Tokio's AsyncSeek trait for downloaded blobs. #59

@maboesanman

Description

@maboesanman

Currently Tokio's AsyncRead api is supported via the Reader struct
https://docs.rs/iroh-blobs/latest/iroh_blobs/rpc/client/blobs/struct.Reader.html

It would be useful for things like zip archive based blobs to be able to seek as well.

Possibly AsyncBufRead as well.

If there is a performance penalty, there could be different methods for returning AsyncRead and AsyncRead + AsyncSeek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions