! @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 */
| 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; |