Skip to main content

read_file

Function read_file 

Source
pub fn read_file<R: Read>(input: R) -> Result<BreadFile, ReadFileError>
Expand description

Reads the .bread file in input.

Large meshes are decoded on threads of their own while the rest of the file is read. A file is refused for the same reason as if every chunk were read in order: the first fault in file order.