MCPcopy Create free account
hub / github.com/ZDoom/Raze / OpenMemory

Method OpenMemory

source/common/filesystem/source/files.cpp:391–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391bool FileReader::OpenMemory(const void *mem, FileReader::Size length)
392{
393 Close();
394 mReader = new MemoryReader((const char *)mem, length);
395 return true;
396}
397
398bool FileReader::OpenMemoryArray(FileData& data)
399{

Callers 4

ReadPaletteFunction · 0.80
OpenMainConfigFileMethod · 0.80
DecompressMethod · 0.80
GetEntryReaderMethod · 0.80

Calls 1

CloseFunction · 0.50

Tested by

no test coverage detected