pub fn compare_eq_slices(
buf_to_test: &[u8],
expected_buf: &[u8],
) -> Result<(), String>Expand description
Checks if two octet slices are equal. If not, returns an error with the formatted hex dump comparison.
ยงParameters
buf_to_test: The first octet slice to compare.expected_buf: The second octet slice to compare.