Function forest_filecoin::utils::net::reader

source ยท
pub async fn reader(location: &str) -> Result<impl AsyncBufRead>
Expand description

location may be:

  • a path to a local file
  • a URL to a web resource
  • compressed
  • uncompressed

This function returns a reader of uncompressed data.