MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / readNext

Method readNext

Tactility/Source/file/ObjectFileReader.cpp:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64bool ObjectFileReader::readNext(void* output) {
65 if (file == nullptr) {
66 LOGGER.error("File not open");
67 return false;
68 }
69
70 bool result = fread(output, recordSize, 1, file.get()) == 1;
71 if (result) {
72 recordsRead++;
73 }
74
75 return result;
76}
77
78}

Callers 2

ObjectFileTest.cppFile · 0.80
getGpsConfigurationsMethod · 0.80

Calls 2

errorMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected