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

Method readSpineEntry

lib/Epub/Epub/BookMetadataCache.cpp:444–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444BookMetadataCache::SpineEntry BookMetadataCache::readSpineEntry(HalFile& file) const {
445 SpineEntry entry;
446 serialization::readString(file, entry.href);
447 serialization::readPod(file, entry.cumulativeSize);
448 serialization::readPod(file, entry.tocIndex);
449 return entry;
450}
451
452BookMetadataCache::TocEntry BookMetadataCache::readTocEntry(HalFile& file) const {
453 TocEntry entry;

Callers

nothing calls this directly

Calls 2

readStringFunction · 0.85
readPodFunction · 0.85

Tested by

no test coverage detected