Function extract_indicators

Source
pub fn extract_indicators(input: &[u8]) -> IResult<&[u8], Vec<Indicator>>
Expand description

Extracts and validates indicators from a byte array using nom combinators and functions returning a vector of sorted deduplicated indicators.

This shouldn’t error if it can’t extract any indicators.