MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / read

Method read

src/OpenLoco/src/S5/SawyerStream.cpp:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void SawyerStreamReader::read(void* data, size_t dataLen)
44{
45 try
46 {
47 _stream.read(data, dataLen);
48 }
49 catch (...)
50 {
51 throw Exception::RuntimeError(exceptionReadError);
52 }
53}
54
55bool SawyerStreamReader::validateChecksum()
56{

Callers 7

uncompressFileFunction · 0.45
loadSaveFunction · 0.45
validateChecksumMethod · 0.45
loadSoundsFromCSSFunction · 0.45
loadMusicSampleFunction · 0.45
deserialiseStringFunction · 0.45
findAndPreLoadObjectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected