pub fn atoui(word: &[u8]) -> u32Expand description
Parse an unsigned decimal the way the C library’s conversion does, which is what every count and offset in a cross-reference table goes through.
Digits accumulate until a non-digit; overflow saturates at u32::MAX
rather than wrapping; and a leading - negates in two’s complement, so
-1 reads as 4294967295. Object-stream offsets in the wild rely on
exactly that, which is why this is not str::parse.