MCPcopy Create free account
hub / github.com/KDE/labplot / readObjectSize

Method readObjectSize

src/3rdparty/liborigin/OriginAnyParser.cpp:228–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228unsigned int OriginAnyParser::readObjectSize()
229{
230 unsigned int obj_size = 0;
231
232 char c = 0;
233 file >> obj_size;
234 file >> c;
235 if (c != '\n') {
236 curpos = file.tellg();
237 LOG_PRINT(logfile, "Wrong delimiter %c at %" PRId64 " [0x%" PRIx64 "]\n", c, curpos, curpos)
238 parseError = 3;
239 return 0;
240 }
241 return obj_size;
242}
243
244string OriginAnyParser::readObjectAsString(unsigned int size)
245{

Callers

nothing calls this directly

Calls 1

tellgMethod · 0.45

Tested by

no test coverage detected