Skip to main content

read_substrate

Function read_substrate 

Source
pub fn read_substrate(buf: &[u8]) -> Result<SubstrateSections<'_>, String>
Expand description

Parse a substrate header and return zero-copy slices of its two sections.