Function irp::mode2::parse[][src]

pub fn parse(s: &str) -> Result<Message, String>
Expand description

parse pulse/space type input. This format is produces by lirc’s mode2 tool. Some lirc drivers sometimes produce consecutive pulses or spaces, rather than alternating. These have to be folded.