uint32_t DataSize
Size of the entry data.
Definition: CacheEntryInfo.h:45
static constexpr uint64_t CalculateRealSize(const CacheEntryInfo &cacheEntryInfo) noexcept
Calculates the real size of cacheEntryInfo.
Definition: CacheEntryInfo.h:73
TIdentifier Id
Cache entry's id.
Definition: CacheEntryInfo.h:42
const uint8_t * DataPtr() const
Returns a const pointer to the first data byte in this cache entry info.
Definition: CacheEntryInfo.h:51
static constexpr uint32_t Max_Data_Size
Definition: CacheEntryInfo.h:38
uint8_t * DataPtr()
Returns a pointer to the first data byte in this cache entry info.
Definition: CacheEntryInfo.h:56
bool IsTooLarge() const
Returns true if the serialized cache entry is too large.
Definition: CacheEntryInfo.h:67
bool HasData() const
Returns true if data is available.
Definition: CacheEntryInfo.h:62
Cache entry info.
Definition: CacheEntryInfo.h:30