Function parse_puncturing_pattern

Source
pub fn parse_puncturing_pattern(s: &str) -> Result<Vec<bool>, &'static str>
Expand description

Parses a puncturing pattern.

This function parses a punturing pattern given as a string, converting it into a vector of bools. The format for the puncturing pattern should be like "1,1,1,0".