Skip to main content

u64_digits

Function u64_digits 

Source
pub fn u64_digits(buf: &mut [u8; 21], n: u64) -> &[u8] 
Expand description

The decimal digits of n, written into the back of buf.

The unsigned form, for the numbers that genuinely do not fit in an i64. A scan cursor is one: ours packs a partition count into the top bits, so a large enough collection hands the client a number with bit 63 set and reporting it as a signed integer would report it as negative.