Function ldpc_toolbox::cli::ber::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".