Function hexdump::sanitize_byte [] [src]

pub fn sanitize_byte(byte: u8) -> char

Sanitizes a byte for safe output.

Any printable ASCII character is returned verbatim (including the space character ' '), for all other bytes, an ASCII dot '.' is returned.