MCPcopy Create free account
hub / github.com/crownengine/crown / from_guid

Method from_guid

src/core/strings/dynamic_string.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace crown
12{
13void DynamicString::from_guid(const Guid &guid)
14{
15 array::resize(_data, GUID_BUF_LEN);
16 guid::to_string(array::begin(_data), GUID_BUF_LEN, guid);
17 array::pop_back(_data);
18}
19
20void DynamicString::from_string_id(const StringId32 &id)
21{

Callers 3

test_dynamic_stringFunction · 0.80
open_temporaryMethod · 0.80
temporary_pathMethod · 0.80

Calls 3

resizeFunction · 0.50
to_stringFunction · 0.50
beginFunction · 0.50

Tested by 1

test_dynamic_stringFunction · 0.64