Function deserialize

Source
pub fn deserialize<'input, 'facet, T, F>(
    input: &'input [u8],
) -> Result<T, DeserError<'input>>
where T: Facet<'facet>, F: Format, 'input: 'facet,
Expand description

Deserialize a value of type T from raw input bytes using format F.

This function sets up the initial working state and drives the deserialization process, ensuring that the resulting value is fully materialized and valid.