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

Method serialize

lib/Epub/Epub/blocks/ImageBlock.cpp:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool ImageBlock::serialize(HalFile& file) {
205 serialization::writeString(file, imagePath);
206 serialization::writePod(file, width);
207 serialization::writePod(file, height);
208 return true;
209}
210
211std::unique_ptr<ImageBlock> ImageBlock::deserialize(HalFile& file) {
212 std::string path;

Callers

nothing calls this directly

Calls 2

writeStringFunction · 0.85
writePodFunction · 0.85

Tested by

no test coverage detected