/
README (full)
hex-slice
Renders a slice of integers (or anything else that supports the LowerHex or UpperHex traits) as hex. For example, this:
extern crate hex_slice;
use hex_slice::AsHex;
fn main() {
let foo = vec![0u32, 1 ,2 ,3];
println!("{:x}", foo.as_hex());
}
Displays: [0 1 2 3] on standard output (available with cargo run --example trivial).
| dir | debian/ |
| dir | examples/ |
| dir | src/ |
| dir | tests/ |
| file | .gitignore |
| file | .travis.yml |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | README.md |