Skip to main content

ascii_field

Function ascii_field 

Source
pub fn ascii_field(bytes: &[u8]) -> String
Expand description

Decode a fixed-length, NUL-padded ASCII field into a trimmed String.