Formats an int value as "%X".
| 3125 | |
| 3126 | // Formats an int value as "%X". |
| 3127 | std::string String::FormatHexInt(int value) { |
| 3128 | std::stringstream ss; |
| 3129 | ss << std::hex << std::uppercase << value; |
| 3130 | return ss.str(); |
| 3131 | } |
| 3132 | |
| 3133 | // Formats a byte as "%02X". |
| 3134 | std::string String::FormatByte(unsigned char value) { |
nothing calls this directly
no outgoing calls
no test coverage detected