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

Loads a Schema or Bundle from raw binary encoded value input into bundle.

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

Returns true if it was a schema, false if it was a bundle.