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

Method HeaderReader

src/riffvideo.cpp:392–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390} // RiffVideo::readMetadata
391
392RiffVideo::HeaderReader::HeaderReader(const BasicIo::UniquePtr& io) {
393 Internal::enforce(io->size() > io->tell() + DWORD + DWORD, Exiv2::ErrorCode::kerCorruptedMetadata);
394 id_ = readStringTag(io);
395 size_ = readDWORDTag(io);
396}
397
398bool RiffVideo::equal(const std::string& str1, const std::string& str2) {
399 if (str1.size() != str2.size())

Callers

nothing calls this directly

Calls 5

enforceFunction · 0.85
readStringTagFunction · 0.85
readDWORDTagFunction · 0.85
tellMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected