MCPcopy Create free account
hub / github.com/blender/cycles / string_hex

Function string_hex

src/util/string.cpp:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191string string_hex(const uint8_t *data, const size_t size)
192{
193 string result;
194 for (size_t i = 0; i < size; i++) {
195 result += string_printf("%x", data[i]);
196 }
197 return result;
198}
199
200string to_string(const char *str)
201{

Callers 2

Calls 1

string_printfFunction · 0.85

Tested by

no test coverage detected