Registry / utility / convert-base

convert-base

JSON →
library1.1.2rscratesunverified

Convert the radix (base) of digits stored in a vector.

# Cargo.toml [dependencies] convert-base = "1.1.2"
INSTALL
IMPORT
SIG · CONVERT-BASE
C
convert-base
utilityrustv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

convert
✓ use convert_base::convert;

Convert binary digits to decimal

use convert_base::convert; fn main() { let digits = vec![1, 0]; // binary 2 let result = convert(&digits, 2, 10); println!("Converted: {:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
convert-base — cargo add convert-base · libregistry