MCPcopy Create free account
hub / github.com/ddnet/ddnet / FromUuid

Method FromUuid

src/engine/shared/datafile.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 int m_aUuid[sizeof(CUuid) / sizeof(int32_t)];
54
55 static CItemEx FromUuid(CUuid Uuid)
56 {
57 CItemEx Result;
58 for(size_t i = 0; i < std::size(Result.m_aUuid); i++)
59 {
60 Result.m_aUuid[i] = bytes_be_to_uint(&Uuid.m_aData[i * sizeof(int32_t)]);
61 }
62 return Result;
63 }
64
65 CUuid ToUuid() const
66 {

Callers

nothing calls this directly

Calls 1

bytes_be_to_uintFunction · 0.85

Tested by

no test coverage detected