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

Function newOrfInstance

src/orfimage.cpp:139–145  ·  view source on GitHub ↗

free functions

Source from the content-addressed store, hash-verified

137// *************************************************************************
138// free functions
139Image::UniquePtr newOrfInstance(BasicIo::UniquePtr io, bool create) {
140 auto image = std::make_unique<OrfImage>(std::move(io), create);
141 if (!image->good()) {
142 return nullptr;
143 }
144 return image;
145}
146
147bool isOrfType(BasicIo& iIo, bool advance) {
148 const int32_t len = 8;

Callers

nothing calls this directly

Calls 1

goodMethod · 0.45

Tested by

no test coverage detected