Function isin::compute_check_digit[][src]

pub fn compute_check_digit(s: &[u8]) -> u8
Expand description

Compute the check digit for an array of u8. No attempt is made to ensure the input string is in the ISIN payload format or length. If an illegal character (not an ASCII digit and not an ASCII uppercase letter) is encountered, this function will panic.