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

    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.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)