pub fn check_prefix_length(prefix: &[u8]) -> Result<(), Global>