Formats an int value as "%02d".
| 3449 | |
| 3450 | // Formats an int value as "%02d". |
| 3451 | std::string String::FormatIntWidth2(int value) { |
| 3452 | std::stringstream ss; |
| 3453 | ss << std::setfill('0') << std::setw(2) << value; |
| 3454 | return ss.str(); |
| 3455 | } |
| 3456 | |
| 3457 | // Formats an int value as "%X". |
| 3458 | std::string String::FormatHexUInt32(UInt32 value) { |
nothing calls this directly
no outgoing calls
no test coverage detected