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

Method markKnown

src/basicio.cpp:625–628  ·  view source on GitHub ↗

! @brief Change the status to bKnow. bKnow blocks do not contain the data, but they keep the size of data. This avoids allocating memory for parts of the file that contain image-date (non-metadata/pixel data) which never change in exiv2. @param num The size of the data */

Source from the content-addressed store, hash-verified

623 @param num The size of the data
624 */
625 void markKnown(size_t num) {
626 type_ = bKnown;
627 size_ = num;
628 }
629
630 [[nodiscard]] bool isNone() const {
631 return type_ == bNone;

Callers 1

populateFakeDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected