MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Read

Method Read

neo/framework/DemoFile.cpp:313–319  ·  view source on GitHub ↗

================ idDemoFile::Read ================ */

Source from the content-addressed store, hash-verified

311 ================
312 */
313int idDemoFile::Read( void *buffer, int len ) {
314 int read = compressor->Read( buffer, len );
315 if ( read == 0 && len >= 4 ) {
316 *(demoSystem_t *)buffer = DS_FINISHED;
317 }
318 return read;
319}
320
321/*
322 ================

Callers 1

OpenForReadingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected