pub fn read_substrate(buf: &[u8]) -> Result<SubstrateSections<'_>, String>Expand description
Parse a substrate header and return zero-copy slices of its two sections.
pub fn read_substrate(buf: &[u8]) -> Result<SubstrateSections<'_>, String>Parse a substrate header and return zero-copy slices of its two sections.