hex-view
NOTE: As of Rust 1.26.0, this crate is no longer necessary because an &[u8]
can be
formatted as hex using the :x?
and :X?
formatters.
Easily format a &[u8]
as hex.
use HexView;
let ff00_slice: & = &;
assert_eq!
HexView::from
also works on anything that implements AsRef<[u8]>
, such as a &Vec<u8>
:
use HexView;
let ff00_vec: = vec!;
assert_eq!
License: MIT/Apache-2.0