Skip to main content

read_container

Function read_container 

Source
pub fn read_container(file: &Arc<SerializedFile>) -> Result<Container, Error>
Expand description

Reads the container of the first AssetBundle in dict order with check_read. A file without one has an empty container; a failing read is an error (it already failed the file at load under crate::FileContext::eager_asset_bundle).