Function decode_from_cart

Source
pub fn decode_from_cart(
    data: &[u8],
) -> Result<(Vec<u8>, Option<JsonMap>, Option<JsonMap>)>
Expand description

Convenience function for decoding a CaRT file using the default key, returning the bytes plus the optional header & footer metadata, if present. See https://github.com/CybercentreCanada/cart for more information.