rs-encoding-hex 0.1.0
Hex encode and decode for bytes, with upper case, separators and a hex dump
Install
cargo add rs-encoding-hex --registry rupm
In Ruststudio: Packages, search for rs-encoding-hex, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-encoding-hex
Hex encode and decode for bytes, with upper case, separators and a hex dump
Add it with `rupm add rs-encoding-hex` (or `cargo add rs-encoding-hex --registry rupm`).
```rust
let s = rs_encoding_hex::encode(b"hi"); // "6869"
let b = rs_encoding_hex::decode("68 69")?; // b"hi" (whitespace is ignored)
println!("{}", rs_encoding_hex::dump(b"Rust Studio"));
```