Function load_or_compute

Source
fn load_or_compute(path: &str, stream: usize, backend: Backend) -> Peaks
Expand description

Disk cache first; else decode the whole stream (empty Peaks when the stream can’t be opened).