Skip to main content

materialize

Function materialize 

Source
pub fn materialize(parsed: &ParsedDescriptor, limits: Limits) -> Result<Vec<u8>>
Expand description

Materialize the exact source bytes for a parsed descriptor.

Standalone entry point: no resolver. Succeeds iff there are no external references; a descriptor with an ObjectSource::External object errors crate::ErrorClass::MissingExternalObject.