MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / read

Method read

framework/data_source/SourceReader.cpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 int SourceReader::read(void *buf, size_t nbyte)
50 {
51 int ret = mSource->readAt(buf, nbyte, mPos);
52
53 if (ret > 0) {
54 mPos += ret;
55 }
56
57 return ret;
58 }
59}

Callers 1

mainFunction · 0.45

Calls 1

readAtMethod · 0.45

Tested by 1

mainFunction · 0.36