Function array_bytes::hex_bytes2hex_str_unchecked
source · Expand description
Just like hex_bytes2hex_str
but without the checking.
Examples
unsafe {
assert_eq!(
array_bytes::hex_bytes2hex_str_unchecked(b"0x4c6f7665204a616e6520466f7265766572"),
"0x4c6f7665204a616e6520466f7265766572",
);
}