Skip to main content

decode_pool

Function decode_pool 

Source
pub fn decode_pool(schema_bytes: &[u8]) -> Result<DescriptorPool, SchemaError>
Expand description

Decode schema_bytes into a DescriptorPool, for use with schema_from_pool when instantiating multiple types from the same bytes.