pub fn get_domain_bytes_length(domain: &str) -> u32
Get the length of a given domain in bytes TODO test this function