MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / writeOffsets

Method writeOffsets

src/tiffimage_int.cpp:2364–2371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2362}
2363
2364void OffsetWriter::writeOffsets(BasicIo& io) const {
2365 for (const auto& [_, off] : offsetList_) {
2366 io.seek(off.origin_, BasicIo::beg);
2367 byte buf[4] = {0, 0, 0, 0};
2368 l2Data(buf, off.target_, off.byteOrder_);
2369 io.write(buf, 4);
2370 }
2371}
2372
2373} // namespace Exiv2::Internal

Callers 1

encodeMethod · 0.80

Calls 3

l2DataFunction · 0.85
seekMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected