MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / readTocEntry

Method readTocEntry

lib/Epub/Epub/BookMetadataCache.cpp:452–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452BookMetadataCache::TocEntry BookMetadataCache::readTocEntry(HalFile& file) const {
453 TocEntry entry;
454 serialization::readString(file, entry.title);
455 serialization::readString(file, entry.href);
456 serialization::readString(file, entry.anchor);
457 serialization::readPod(file, entry.level);
458 serialization::readPod(file, entry.spineIndex);
459 return entry;
460}

Callers

nothing calls this directly

Calls 2

readStringFunction · 0.85
readPodFunction · 0.85

Tested by

no test coverage detected