decode_template42_first_message

Function decode_template42_first_message 

Source
pub fn decode_template42_first_message(
    path: &Path,
    width: usize,
    height: usize,
) -> Result<Option<Vec<f32>>, String>
Expand description

Convenience helper: decode the first template42 message in the file (if any). Returns Ok(Some(Vec)) if a template42 message was found and decoded successfully, Ok(None) if no suitable message was found, or Err on file/IO errors.