Function isin::checksum::checksum_table

source ·
pub fn checksum_table(s: &[u8]) -> u8
Expand description

Compute the checksum for a u8 array. No attempt is made to ensure the input string is in the ISIN payload format or length.

Panics

If an illegal character (not an ASCII digit and not an ASCII uppercase letter) is encountered, the char_value() function this calls will panic.