hexify
hexify is a Rust library for formatting octet slices [u8] into hexadecimal strings. It provides utilities to
convert octets into easily readable hex strings with additional features for comparison and assertions.
Installation
Add hexify to your Cargo.toml:
[]
= "^0.0.1"
Usage
use format_hex;
Features
- Hexadecimal Formatting: Convert
[u8]slices into uppercase, space-separated hex strings. - Comparison and Assertions: Easily compare octet slices and assert equality with detailed hex dump outputs for debugging.
- Flexible Formatting Options: Customize grouping and prefix options for hex output.
License
This project is licensed under the MIT License. See the LICENSE file for more details.