util namespace
#include <Source/Demo/Utility.hpp>
Contents
- Reference
Functions
- auto CopyTo(std::span<std::byte> buffer, ts::size_t*const position, auto value)
-
template<std::size_t size>auto CopyFrom(etl::string<size> const& buffer, ts::size_t*const position, auto* value)
-
template<class To, class From>auto bit_cast(From const& src) -> std::enable_if_t<sizeof(To)==sizeof(From) && std::is_trivially_copyable_v<From> && std::is_trivially_copyable_v<To>, To> noexcept
-
template<std::integral T>auto byteswap(T value) constexpr noexcept