MCPcopy Create free account
hub / github.com/assimp/assimp / Read

Method Read

code/Common/DefaultIOStream.cpp:89–99  ·  view source on GitHub ↗

----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

87
88// ----------------------------------------------------------------------------------
89size_t DefaultIOStream::Read(void *pvBuffer,
90 size_t pSize,
91 size_t pCount) {
92 if (0 == pCount) {
93 return 0;
94 }
95 ai_assert(nullptr != pvBuffer);
96 ai_assert(0 != pSize);
97
98 return (mFile ? ::fread(pvBuffer, pSize, pCount, mFile) : 0);
99}
100
101// ----------------------------------------------------------------------------------
102size_t DefaultIOStream::Write(const void *pvBuffer,

Callers 4

CheckMagicTokenMethod · 0.45
TextFileToBufferMethod · 0.45
addTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected