Skip to main content

parse

Function parse 

Source
pub fn parse<B: Into<Bytes>>(
    bytes: B,
) -> Result<ParsedBlockComponent, ParseError>
Expand description

Parses a ParsedBlockComponent from bytes, using the same wire format as BlockComponent.