|
| template<typename value_type > |
| value_type | wpi::support::endian::byte_swap (value_type value, endianness endian) |
| |
| template<typename value_type , endianness endian> |
| value_type | wpi::support::endian::byte_swap (value_type value) |
| | Swap the bytes of value to match the given endianness.
|
| |
| template<typename value_type , std::size_t alignment = unaligned> |
| value_type | wpi::support::endian::read (const void *memory, endianness endian) |
| | Read a value of a particular endianness from memory.
|
| |
| template<typename value_type , endianness endian, std::size_t alignment> |
| value_type | wpi::support::endian::read (const void *memory) |
| |
| template<typename value_type , std::size_t alignment = unaligned, typename CharT > |
| value_type | wpi::support::endian::readNext (const CharT *&memory, endianness endian) |
| | Read a value of a particular endianness from a buffer, and increment the buffer past that value.
|
| |
| template<typename value_type , endianness endian, std::size_t alignment = unaligned, typename CharT > |
| value_type | wpi::support::endian::readNext (const CharT *&memory) |
| |
| template<typename value_type , std::size_t alignment = unaligned> |
| void | wpi::support::endian::write (void *memory, value_type value, endianness endian) |
| | Write a value to memory with a particular endianness.
|
| |
| template<typename value_type , endianness endian, std::size_t alignment> |
| void | wpi::support::endian::write (void *memory, value_type value) |
| |
| template<typename value_type , std::size_t alignment = unaligned, typename CharT > |
| void | wpi::support::endian::writeNext (CharT *&memory, value_type value, endianness endian) |
| | Write a value of a particular endianness, and increment the buffer past that value.
|
| |
| template<typename value_type , endianness endian, std::size_t alignment = unaligned, typename CharT > |
| void | wpi::support::endian::writeNext (CharT *&memory, value_type value) |
| |
| template<typename value_type , endianness endian, std::size_t alignment> |
| value_type | wpi::support::endian::readAtBitAlignment (const void *memory, uint64_t startBit) |
| | Read a value of a particular endianness from memory, for a location that starts at the given bit offset within the first byte.
|
| |
| template<typename value_type , endianness endian, std::size_t alignment> |
| void | wpi::support::endian::writeAtBitAlignment (void *memory, value_type value, uint64_t startBit) |
| | Write a value to memory with a particular endianness, for a location that starts at the given bit offset within the first byte.
|
| |
| template<typename T , endianness E> |
| T | wpi::support::endian::read (const void *P) |
| |
| uint16_t | wpi::support::endian::read16 (const void *P, endianness E) |
| |
| uint32_t | wpi::support::endian::read32 (const void *P, endianness E) |
| |
| uint64_t | wpi::support::endian::read64 (const void *P, endianness E) |
| |
| template<endianness E> |
| uint16_t | wpi::support::endian::read16 (const void *P) |
| |
| template<endianness E> |
| uint32_t | wpi::support::endian::read32 (const void *P) |
| |
| template<endianness E> |
| uint64_t | wpi::support::endian::read64 (const void *P) |
| |
| uint16_t | wpi::support::endian::read16le (const void *P) |
| |
| uint32_t | wpi::support::endian::read32le (const void *P) |
| |
| uint64_t | wpi::support::endian::read64le (const void *P) |
| |
| uint16_t | wpi::support::endian::read16be (const void *P) |
| |
| uint32_t | wpi::support::endian::read32be (const void *P) |
| |
| uint64_t | wpi::support::endian::read64be (const void *P) |
| |
| template<typename T , endianness E> |
| void | wpi::support::endian::write (void *P, T V) |
| |
| void | wpi::support::endian::write16 (void *P, uint16_t V, endianness E) |
| |
| void | wpi::support::endian::write32 (void *P, uint32_t V, endianness E) |
| |
| void | wpi::support::endian::write64 (void *P, uint64_t V, endianness E) |
| |
| template<endianness E> |
| void | wpi::support::endian::write16 (void *P, uint16_t V) |
| |
| template<endianness E> |
| void | wpi::support::endian::write32 (void *P, uint32_t V) |
| |
| template<endianness E> |
| void | wpi::support::endian::write64 (void *P, uint64_t V) |
| |
| void | wpi::support::endian::write16le (void *P, uint16_t V) |
| |
| void | wpi::support::endian::write32le (void *P, uint32_t V) |
| |
| void | wpi::support::endian::write64le (void *P, uint64_t V) |
| |
| void | wpi::support::endian::write16be (void *P, uint16_t V) |
| |
| void | wpi::support::endian::write32be (void *P, uint32_t V) |
| |
| void | wpi::support::endian::write64be (void *P, uint64_t V) |
| |