MCPcopy Create free account
hub / github.com/SpartanJ/eepp / loadFromMemory

Method loadFromMemory

src/eepp/ui/doc/textdocument.cpp:885–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885TextDocument::LoadStatus TextDocument::loadFromMemory( const Uint8* data, const Uint32& size ) {
886 IOStreamMemory stream( (const char*)data, size );
887 return loadFromStream( stream, mFilePath, true );
888}
889
890TextDocument::LoadStatus TextDocument::loadFromPack( Pack* pack, std::string filePackPath ) {
891 if ( NULL == pack )

Callers 4

getSizeMethod · 0.45
loadFontFacesMethod · 0.45
UIDocFindReplaceMethod · 0.45
loadImageAsyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected