fn charToDigit(c: u8, base: u8) error{InvalidCharacter}!u8

Parameters

c: u8,
base: u8,