Expand description
Efficient decimal integer formatting.
ยงSafety
This uses CStr::from_bytes_with_nul_unchecked
and
str::from_utf8_unchecked
on the buffer that it filled itself.
Modulesยง
- private ๐
Structsยง
- DecInt
- Format an integer into a decimal
Path
component, without constructing a temporaryPathBuf
orString
.
Constantsยง
- BUF_LEN ๐
- Enough to hold an {u,i}64 and NUL terminator.
- I64_
MAX_ ๐STR_ LEN - Maximum length of a formatted
i64
. - U64_
MAX_ ๐STR_ LEN - Maximum length of a formatted
u64
.
Traitsยง
- Integer
- An integer that can be used by
DecInt::new
.