Skip to main content

check_bytes

Function check_bytes 

Source
pub fn check_bytes<T>(
    item: &RetentionItem,
    bytes: &[u8],
) -> Result<T, ItemFailure>
where T: Document + PartialEq,
Expand description

Check resolved bytes against the item’s declaration and parse them.