| 13 | namespace tera { |
| 14 | |
| 15 | bool IsVisible(char c) { |
| 16 | return (c >= 0x21 && c <= 0x7E); // exclude space (0x20) |
| 17 | } |
| 18 | |
| 19 | char IsHex(uint8_t i) { |
| 20 | return ((i >= '0' && i <= '9') || (i >= 'a' && i <= 'f') || (i >= 'A' && i <= 'F')); |
no outgoing calls
no test coverage detected