MCPcopy 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
27std::unique_ptr<ChunkId> ChunkId::FromString(const char* str)
28{
29 return std::make_unique<ChunkId>((char*)str, (int)strlen(str));
30}
31
32std::unique_ptr<ChunkId> ChunkId::FromString(string* str)
33{

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected