# Function rustc_symbol_mangling::v0::push_integer_62

source ·

    pub(crate) fn push_integer_62(x: u64, output: &mut String)

Expand description

Push a `_`-terminated base 62 integer, using the format specified in the RFC as `<base-62-number>`, that is:

- `x = 0` is encoded as just the `"_"` terminator
- `x > 0` is encoded as `x - 1` in base 62, followed by `"_"`, e.g. `1` becomes `"0_"`, `62` becomes `"Z_"`, etc.