tag | b0b3c6d6bb6332c2edd4de5ff60bbcae6cd76904 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Apr 24 20:09:15 2024 -0700 |
object | 29d9d0c51f96c40d6dceb8bb5b2ec9a5e2c4a580 |
aml_ips_341611000 (11398421,com.google.android.ipsec)
commit | 29d9d0c51f96c40d6dceb8bb5b2ec9a5e2c4a580 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:54:27 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:54:27 2023 +0000 |
tree | 7063856b00fcda978586fe349806ad14c4e22c9c | |
parent | 51c2cb14b200fcd078c9a66a1dcb209570310717 [diff] | |
parent | c42c4eaf61c61127a4c1907f0171b453780fade4 [diff] |
Snap for 10453563 from c42c4eaf61c61127a4c1907f0171b453780fade4 to mainline-ipsec-release Change-Id: Ia946e5f7eed7cbfb23058514c655da948fcf8cc7
This crate provides a fast conversion of integer primitives to decimal strings. The implementation comes straight from libcore but avoids the performance penalty of going through core::fmt::Formatter
.
See also ryu
for printing floating point primitives.
Version requirement: rustc 1.36+
[dependencies] itoa = "1.0"
fn main() { let mut buffer = itoa::Buffer::new(); let printed = buffer.format(128u64); assert_eq!(printed, "128"); }