Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ FromString
Method
FromString
TombEngine/Specific/IO/ChunkId.cpp:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
}
26
27
std::unique_ptr<ChunkId> ChunkId::FromString(const char* str)
28
{
29
return std::make_unique<ChunkId>((char*)str, (int)strlen(str));
30
}
31
32
std::unique_ptr<ChunkId> ChunkId::FromString(string* str)
33
{
Callers
nothing calls this directly
Calls
2
length
Method · 0.80
c_str
Method · 0.45
Tested by
no test coverage detected