Expand description
File streaming — AsyncRead + AsyncSeek over individual torrent files.
Provides FileStream, which lets consumers read a file within a torrent
as if it were a regular seekable byte stream. The stream blocks on pieces
that haven’t been downloaded yet and resumes automatically when the piece
arrives.
Structs§
- File
Stream - Async reader/seeker over a single file within a torrent.
- File
Stream Handle - Internal handle passed from the
TorrentActorto construct aFileStream.