Skip to main content

build_hmc_bundle

Function build_hmc_bundle 

Source
pub fn build_hmc_bundle<I>(assets: I) -> Result<Vec<u8>, HmcAssetPackageError>
where I: IntoIterator<Item = (String, CompiledAsset)>,
Expand description

Package one or more assets in a canonical order and store each equal image digest once. All payloads remain original encoded bytes; this builder does not decode or transcode images.