pub fn file_range(
size: u64,
http_range: Option<HttpRange>,
) -> Result<ContentRange, UnsatisfiableRange>Expand description
Returns a ContentRange if the provided HttpRange is satisfiable, otherwise it returns UnsatisfiableRange.
pub fn file_range(
size: u64,
http_range: Option<HttpRange>,
) -> Result<ContentRange, UnsatisfiableRange>Returns a ContentRange if the provided HttpRange is satisfiable, otherwise it returns UnsatisfiableRange.