pub fn load_schema_or_bundle_bin_with_purpose(
    bundle: &mut Map<ModulePath, (Schema, Purpose)>,
    prefix: &str,
    input: &[u8],
    purpose: Purpose
) -> Result<()>
Expand description

Loads a Schema or Bundle from raw binary encoded value input into bundle for the given purpose.

If input corresponds to a Schema, then prefix is used as its module name; otherwise, it’s a Bundle, and prefix is ignored.