https://github.com/caub/baseconv-rust
https://github.com/caub/baseconv-rust
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/caub/baseconv-rust
- Owner: caub
- Created: 2019-05-24T21:37:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T19:05:35.000Z (about 7 years ago)
- Last Synced: 2025-03-22T22:18:20.085Z (over 1 year ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# radix conversion
usage:
```rust
use baseconv::convertor;
let b = convertor!("0123456789", "0123456789abcdef");
b.conv("42", 10, 16); // "2a"
b.conv("4242424242"/*...*/, 10, 16); // "8de2991df40ff783057818d0012f3bc1c..."
```