[][src]Function ramp::ll::base::to_base

pub unsafe fn to_base<F: FnMut(u8)>(base: u32, np: Limbs, nn: i32, out_byte: F)

Converts nn limbs at np to the given base, storing the output in out. out is assumed to have enough space for the entire digit. The output is stored from most-significant digit to least.

The values in out are the raw values of the base. Conversion for output should be done as a second step.