Struct ov::runtime::hsm::BlobMagic#

struct BlobMagic#

Container magic (5 raw bytes).

Public Functions

inline constexpr bool operator==(const BlobMagic &other) const noexcept#

Byte-wise compare; hand-written loop (not value == other.value) since std::array::operator== isn’t constexpr until C++20, and this must stay usable in a constant expression.

Public Members

MagicType value = {}#

Raw bytes. Zero-initialized: an unset BlobMagic never matches a valid magic.

Public Static Attributes

static const BlobMagic single = {ov::util::make_array<uint8_t>('O', 'V', 'B', 'L', 'S')}#

“OVBLS”: container holds exactly one model blob.

static const BlobMagic multi = {ov::util::make_array<uint8_t>('O', 'V', 'W', 'S', 'H')}#

“OVWSH”: shared-context container - see #MultiBlobView.