MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / ImFileLoadToMemory

Function ImFileLoadToMemory

CPPScripts/External/ImGui/imgui.cpp:2342–2379  ·  view source on GitHub ↗

Helper: Load file content into memory Memory allocated with IM_ALLOC(), must be freed by user using IM_FREE() == ImGui::MemFree() This can't really be used with "rt" because fseek size won't match read size.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

AddFontFromFileTTFMethod · 0.85

Calls 4

ImFileOpenFunction · 0.70
ImFileGetSizeFunction · 0.70
ImFileCloseFunction · 0.70
ImFileReadFunction · 0.70

Tested by

no test coverage detected