tag | e2ed6228d505026334ee7fb38d13e9e16c650542 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Oct 20 21:27:23 2023 -0700 |
object | 995ec4c290dd479096126ad2bb25f292419cfe68 |
aml_tet_340913030 (10606823,com.google.android.tethering)
commit | 995ec4c290dd479096126ad2bb25f292419cfe68 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:16 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:16 2023 +0000 |
tree | 7063856b00fcda978586fe349806ad14c4e22c9c | |
parent | bf5ae9bbddb7cd577b10c4eb142bf391c8120d99 [diff] | |
parent | c42c4eaf61c61127a4c1907f0171b453780fade4 [diff] |
Snap for 10447354 from c42c4eaf61c61127a4c1907f0171b453780fade4 to mainline-tethering-release Change-Id: I4c9503e7a191b1465c951f5b0b088249297b530e
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"); }