: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:property:: header :type: dissect.cstruct.Structure .. py:property:: version :type: dissect.thumbcache.util.ThumbnailType .. py:attribute:: __slots__ :value: ['fh', '_header', 'signature', 'type', 'size', 'offset', '_entries', '_cached_entries'] 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:method:: __getitem__(key: int) -> ThumbcacheEntry .. py:method:: __getattribute__(__name: str) -> Any Return getattr(self, name). .. py:method:: entries() -> list[ThumbcacheEntry] .. py:class:: ThumbcacheEntry(fh: BinaryIO, type: dissect.thumbcache.util.ThumbnailType) .. 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__() Return repr(self).