13namespace hi::inline v1 {
34 [[nodiscard]] virtual
std::span<
std::
byte const> bytes() const noexcept = 0;
38 [[nodiscard]] virtual
std::string_view string_view() const noexcept = 0;
40 operator
std::span<
std::
byte const>() const noexcept
51 [[nodiscard]] virtual
std::
byte const *data() const noexcept = 0;
A read-only memory mapping of a resource.
Definition resource_view.hpp:18
virtual std::size_t offset() const noexcept=0
Offset into the resource file.
virtual std::size_t size() const noexcept=0
Size of the memory mapping.