MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / loadMem

Method loadMem

extlibs/soloud/src/audiosource/monotone/soloud_monotone.cpp:403–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401 }
402
403 result Monotone::loadMem(unsigned char *aMem, unsigned int aLength, bool aCopy, bool aTakeOwnership)
404 {
405 MemoryFile mf;
406 int res = mf.openMem(aMem, aLength, aCopy, aTakeOwnership);
407 if (res != SO_NO_ERROR)
408 return res;
409 return loadFile(&mf);
410 }
411
412 result Monotone::load(const char *aFilename)
413 {

Callers

nothing calls this directly

Calls 1

openMemMethod · 0.80

Tested by

no test coverage detected