LAPTOP-SNT8I5JK\Boounion
2025-03-14 8379d72c7f16fc8850d51d0d6ed7ec7238f26edc
SourceCode/Bond/Servo/ToolUnits.cpp
@@ -2,6 +2,7 @@
#include "ToolUnits.h"
#include <chrono>
#include <memory>
#include <sstream>
CToolUnits::CToolUnits()
@@ -306,4 +307,13 @@
bool CToolUnits::startsWith(const std::string& str, const std::string& prefix)
{
   return str.size() >= prefix.size() && str.compare(0, prefix.size(), prefix) == 0;
}
std::string& CToolUnits::toHexString(int value, std::string& strOut)
{
   std::stringstream ss;
   ss << std::hex << value;
   strOut = ss.str();
   return strOut;
}