MCPcopy Create free account
hub / github.com/assaultcube/AC / rwopsread

Function rwopsread

source/src/stream.cpp:506–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506static size_t rwopsread(SDL_RWops *rw, void *buf, size_t size, size_t nmemb)
507{
508 stream *f = (stream *)rw->hidden.unknown.data1;
509 return f->read(buf, size*nmemb)/size;
510}
511
512static size_t rwopswrite(SDL_RWops *rw, const void *buf, size_t size, size_t nmemb)
513{

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected