Struct ItemDataDirectAccessInfo¶
Defined in File zim.h
Struct Documentation¶
-
struct ItemDataDirectAccessInfo¶
Information needed to directly access to an item data, bypassing libzim library.
Some items may have their data store uncompressed in the zim archive. In such case, an user can read the item data directly by (re)opening the file and seek at the right offset.
Public Functions
-
inline explicit ItemDataDirectAccessInfo()¶
-
inline ItemDataDirectAccessInfo(const std::string &filename, offset_type offset)¶
-
inline bool isValid() const¶
Return if the ItemDataDirectAccessInfo is valid
Public Members
-
std::string filename¶
The filename to open.
-
offset_type offset¶
The offset to seek to before reading.
-
inline explicit ItemDataDirectAccessInfo()¶