tag | 4ce7ee1f2110031d9674bef7865785d6e4f701db | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Dec 07 00:48:39 2023 -0800 |
object | 9f680162b3641064ffa8afbd06f1fed312c67479 |
frc_340819220 (11022343,com.google.android.captiveportallogin,com.google.android.configinfrastructure,com.google.android.scheduling)
commit | 9f680162b3641064ffa8afbd06f1fed312c67479 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:59:37 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:59:37 2023 +0000 |
tree | 7063856b00fcda978586fe349806ad14c4e22c9c | |
parent | c6cdb5ff196b09e6efda75b05405eb27ff5a5e5d [diff] | |
parent | 4abae58085457d394fdba2722d229f3c616eac58 [diff] |
Snap for 9912757 from 4abae58085457d394fdba2722d229f3c616eac58 to aml-frc-release Change-Id: I061cc7b75dc4e43c4b175a471b29a31035569242
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"); }