Function base_to_base_string

Source
pub fn base_to_base_string(
    s: &str,
    from_base: u8,
    to_base: u8,
    format_settings: &BaseStringFormatSettings,
) -> Result<(String, FormatLog)>
Expand description

Parse a string contaning numbers in base 2 through 36, convert it to the target base, and print it formatted. Will warn for extra characters other than spaces and commas.