Skip to main content

parse_pwb

Function parse_pwb 

Source
pub fn parse_pwb(bytes: &[u8], name_hint: Option<&str>) -> Result<Network>
Expand description

Parse .pwb bytes into a Network. name_hint (the file stem) names the network; the binary carries no case name in the decoded region.

ยงErrors

Error::FormatRead when the header is not the known magic, a record does not match the validated layouts, or a table cannot be located.