dissect.thumbcache.thumbcache_file

Module Contents

Classes

Attributes

dissect.thumbcache.thumbcache_file.UNKNOWN_BYTES = 8
class dissect.thumbcache.thumbcache_file.ThumbcacheFile(fh: BinaryIO)
__slots__ = ['_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.

Parameters:

fh – A file-like object.

fh
property header: dissect.thumbcache.c_thumbcache.c_thumbcache.CACHE_HEADER_VISTA | dissect.thumbcache.c_thumbcache.c_thumbcache.CACHE_HEADER
property version: dissect.thumbcache.util.ThumbnailType
__getitem__(key: int) ThumbcacheEntry
__getattribute__(name: str) Any
entries() collections.abc.Iterator[ThumbcacheEntry]
class dissect.thumbcache.thumbcache_file.ThumbcacheEntry(fh: BinaryIO, type: dissect.thumbcache.util.ThumbnailType)
data_checksum: bytes
header_checksum: bytes
identifier: str
property hash: str
property extension: str

This property contains the extension type of the data (Only in VISTA).

property data: bytes
__repr__()