Template Function TRAP::Utils::AsBytes#
Function Documentation#
-
template<typename T, usize Extent>
constexpr auto TRAP::Utils::AsBytes(std::span<T, Extent> s) noexcept# Obtains a view to the object representation of the elements of the span s. If Extent is std::dynamic_extent, the extent of the returned span S is also std::dynamic_extent; otherwise it is sizeof(T) * Extent.
- Returns:
Span as bytes.