Struct lib::BibiCoder [−][src]
pub struct BibiCoder { /* fields omitted */ }Convert any number from one numeral system to the other.
Methods
impl BibiCoder[src]
impl BibiCoderpub fn new(numsys_in: NumeralSystem, numsys_out: NumeralSystem) -> BibiCoder[src]
pub fn new(numsys_in: NumeralSystem, numsys_out: NumeralSystem) -> BibiCoderBuild a coder from numsys_in numeral system to numsys_out
pub fn swap(&self, entry: &str) -> Result<String, BibiError>[src]
pub fn swap(&self, entry: &str) -> Result<String, BibiError>Swap an integer coded in numsys_in system to numsys_out