[][src]Function cddl_cat::flatten::slice_flatten_from_str

pub fn slice_flatten_from_str(
    cddl_input: &str
) -> FlattenResult<RulesWithStrings>

Convert a CDDL schema in UTF-8 form into a structured rule set, preserving the CDDL text.

This works the same as flatten_from_str, but preserves a copy of the original CDDL text alongside the IVT.