Class ov::util::IBuffer#
-
class IBuffer : public ov::util::IMemoryHints#
Common, read-only access to a contiguous block of memory plus its properties.
Subclassed by ov::util::IMutableBuffer
Public Functions
-
template<typename T>
inline const T *data_as() const noexcept# Typed reinterpretation of data(), e.g. data_as<char>() for APIs needing pointer arithmetic.
-
inline MemoryView view() const noexcept#
Read-only view for bulk reads/copies (e.g. memcpy, std::copy); not virtual, built on data()/size().
-
inline virtual std::optional<uint64_t> get_id() const noexcept#
Buffer ID, Default: no id.
-
template<typename T>