pub fn car_header_bytes(roots: &[Cid]) -> Vec<u8> ⓘExpand description
Build just the CARv1 header section (varint-framed CBOR {version, roots}).
Useful for lazy/streaming CAR producers that emit the header first, then
block sections one at a time.