Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

u64_dec

Function u64_dec 

Source
pub fn u64_dec(buf: &mut [u8], v: u64) -> &str
Expand description

Format v as decimal ASCII into buf, returning the digits as &str.

buf must be at least U64_DEC_MAX bytes for the general case. (64-bit math is slow on the PS1; fine for text, keep it out of hot loops.)