Function capsules::net::util::verify_prefix_len [] [src]

pub fn verify_prefix_len(prefix: &[u8], prefix_len: u8) -> bool
[]

Verifies that a prefix given in the form of a byte array slice is valid with respect to its length in bits (prefix_len):