output rom size in hex longlong format
This commit is contained in:
@@ -34,6 +34,10 @@ std::string UppercaseHexLong(uint32_t dword) {
|
||||
std::string result = absl::StrFormat("0x%06X", dword);
|
||||
return result;
|
||||
}
|
||||
std::string UppercaseHexLongLong(uint64_t qword) {
|
||||
std::string result = absl::StrFormat("0x%08X", qword);
|
||||
return result;
|
||||
}
|
||||
|
||||
bool StringReplace(std::string& str, const std::string& from,
|
||||
const std::string& to) {
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace core {
|
||||
std::string UppercaseHexByte(uint8_t byte, bool leading = false);
|
||||
std::string UppercaseHexWord(uint16_t word);
|
||||
std::string UppercaseHexLong(uint32_t dword);
|
||||
std::string UppercaseHexLongLong(uint64_t qword);
|
||||
|
||||
bool StringReplace(std::string& str, const std::string& from,
|
||||
const std::string& to);
|
||||
|
||||
Reference in New Issue
Block a user