Template Function TRAP::Utils::AsWritableBytes#

Function Documentation#

template<typename T, usize Extent>
constexpr auto TRAP::Utils::AsWritableBytes(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 writable bytes.