MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Clear

Method Clear

engine/Poseidon/IO/Streams/QBStream.cpp:1020–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1018 return data;
1019 }
1020#endif
1021 Seek(info.startOffset);
1022 // read directly from file
1023 Ref<FileBufferMemory> data = new FileBufferMemory(info.length);
1024 Read(data->GetWritableData(), info.length, name);
1025 return data.GetRef();
1026 }
1027 else
1028 {
1029 // some unknown compression manager
1030 Fail("Unknown compression manager");
1031 return nullptr;
1032 }
1033}
1034
1035Ref<IFileBuffer> QFBank::ReadOverlapped(const char* file) const
1036{
1037 if (!Load())

Callers 8

CreateMethod · 0.45
openMethod · 0.45
LoadMethod · 0.45
ClearBanksMethod · 0.45
SerializeMethod · 0.45
SerializeDefMethod · 0.45
SerializeRefsMethod · 0.45
CloseMethod · 0.45

Calls 1

FreeMethod · 0.45

Tested by

no test coverage detected