Skip to main content

Module streaming

Module streaming 

Source
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§

FileStream
Async reader/seeker over a single file within a torrent.
FileStreamHandle
Internal handle passed from the TorrentActor to construct a FileStream.