Skip to main content

normalize_hex

Function normalize_hex 

Source
pub fn normalize_hex(value: &str, bytes: usize) -> Result<String, String>
Expand description

Normalize a fixed-width hexadecimal wire field.

ยงErrors

Returns an error unless the input contains exactly bytes hexadecimal bytes.