MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / ToMd5String

Function ToMd5String

lib/mdflib/mdflib/src/mdfblock.cpp:250–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250std::string ToMd5String(const std::vector<uint8_t> &md5) {
251 std::ostringstream temp;
252 for (auto byte : md5) {
253 temp << std::hex << std::setw(2) << std::setfill('0') << std::uppercase
254 << static_cast<int>(byte);
255 }
256 return temp.str();
257}
258/*
259bool OpenMdfFile(FILE *&file, const std::string &filename,
260 const std::string &mode) {

Callers 1

GetBlockPropertyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected