Skip to main content

parse_car_v1

Function parse_car_v1 

Source
pub fn parse_car_v1(input: &[u8]) -> Result<(Vec<Cid>, Vec<(Cid, Vec<u8>)>)>
Expand description

Parse a CARv1 blob into (roots, blocks). Used by tests / offline verifiers that read a fetched CAR.