#include "Stroika/Foundation/StroikaPreComp.h"#include <concepts>#include <cstdint>#include "Stroika/Foundation/Common/Common.h"#include "Endian.inl"Go to the source code of this file.
Namespaces | |
| namespace | Stroika::Foundation |
| namespace | Stroika::Foundation::Common |
Enumerations | |
| enum class | Stroika::Foundation::Common::Endian |
| in principle complicated question of correspondence between bit and byte and word numbering, but often fairly simple - similar to but subtler version of std::endian More... | |
Functions | |
| constexpr Endian | Stroika::Foundation::Common::GetEndianness () |
| returns native (std::endian::native) Endianness flag. Can be complicated (mixed, etc). But often very simple (e.g. Endian::eLittle) and for the simple cases, based on std::endian::native. | |
| template<integral T> | |
| constexpr T | Stroika::Foundation::Common::EndianConverter (T value, Endian from, Endian to) |