[][src]Function mnumonic::decode_u32

pub fn decode_u32(encoded_words: &[&str]) -> Result<u32, usize>

Decode a vector of words (as produced by encode_u32) back into the u32 that produced them. If the provided word vector has more than 4 words, then an Err(4) is produced; if any the words are invalid, then an Err is produced with the index of the bad entry in the input vector.