MCPcopy Create free account
hub / github.com/defold/defold / GetFileSize

Function GetFileSize

engine/resource/src/providers/provider.cpp:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172Result GetFileSize(HArchive archive, dmhash_t path_hash, const char* path, uint32_t* file_size)
173{
174 return archive->m_Loader->m_GetFileSize(archive->m_Internal, path_hash, path, file_size);
175}
176
177Result ReadFile(HArchive archive, dmhash_t path_hash, const char* path, uint8_t* buffer, uint32_t buffer_len)
178{

Callers 7

GetResourceSizeFunction · 0.50
TEST_PFunction · 0.50
TEST_FFunction · 0.50
TEST_PFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 5

TEST_PFunction · 0.40
TEST_FFunction · 0.40
TEST_PFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40