* @brief Checks if the only unprintable characters in the given string are zero * bytes. */
| 122 | * bytes. |
| 123 | */ |
| 124 | bool onlyUnprintableCharsAreZeroBytes(const WideStringType &str) { |
| 125 | return std::find_if( |
| 126 | str.begin(), |
| 127 | str.end(), |
| 128 | [](WideCharType c){return !isPrintableOrZeroByte(c);}) == str.end(); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * @brief Converts the given character into a hexadecimal representation to be |
no test coverage detected