AUDIO
Source snapshot · 12 October 2026

API reference / ravet_runtime::files::read

Function read 

pub fn read(
    path: impl AsRef<Path>,
    maximum_bytes: usize,
) -> Result<Vec<u8>, FileError>
Expand description

Read binary bytes up to a caller-supplied limit. Empty files succeed; missing files fail. Checks the actual stream, including a growing file.