:py:mod:`dissect.thumbcache.thumbcache_file` ============================================ .. py:module:: dissect.thumbcache.thumbcache_file Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.thumbcache.thumbcache_file.ThumbcacheFile dissect.thumbcache.thumbcache_file.ThumbcacheEntry Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.thumbcache.thumbcache_file.UNKNOWN_BYTES .. py:data:: UNKNOWN_BYTES :value: 8 .. py:class:: ThumbcacheFile(fh: BinaryIO) .. py:attribute:: __slots__ :value: ['_cached_entries', '_entries', '_header', 'fh', 'offset', 'signature', 'size', 'type'] This class defines a thumbcache file, that is usually denoted by thumbcache_*.db. Which is is different from the thumbcache_idx.db. :param fh: A file-like object. .. py:attribute:: fh .. py:property:: header :type: dissect.thumbcache.c_thumbcache.c_thumbcache.CACHE_HEADER_VISTA | dissect.thumbcache.c_thumbcache.c_thumbcache.CACHE_HEADER .. py:property:: version :type: dissect.thumbcache.util.ThumbnailType .. py:method:: __getitem__(key: int) -> ThumbcacheEntry .. py:method:: __getattribute__(name: str) -> Any .. py:method:: entries() -> collections.abc.Iterator[ThumbcacheEntry] .. py:class:: ThumbcacheEntry(fh: BinaryIO, type: dissect.thumbcache.util.ThumbnailType) .. py:attribute:: data_checksum :type: bytes .. py:attribute:: header_checksum :type: bytes .. py:attribute:: identifier :type: str .. py:property:: hash :type: str .. py:property:: extension :type: str This property contains the extension type of the data (Only in VISTA). .. py:property:: data :type: bytes .. py:method:: __repr__()