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

Method OpenMemoryArray

source/common/filesystem/source/files.cpp:398–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398bool FileReader::OpenMemoryArray(FileData& data)
399{
400 Close();
401 if (data.size() > 0) mReader = new MemoryArrayReader(data);
402 return true;
403}
404
405FileData FileReader::Read(size_t len)
406{

Callers 4

AddFromBufferMethod · 0.80
GetEntryReaderMethod · 0.80
GetEntryReaderMethod · 0.80
GetEntryReaderMethod · 0.80

Calls 2

CloseFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected