Skip to main content

dodecet_count

Function dodecet_count 

Source
pub fn dodecet_count(s: &str) -> usize
Expand description

Calculate the number of dodecets in a hex string

ยงExample

use dodecet_encoder::hex;

assert_eq!(hex::dodecet_count("123456789"), 3);