Contains functions to swap bytes in values (for different endianness).
More...
#include "config.hpp"
#include <cstdint>
#include <cstring>
Go to the source code of this file.
|
namespace | protozero |
| All parts of the protozero header-only library are in this namespace.
|
|
|
void | protozero::byteswap_inplace (uint32_t *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
void | protozero::byteswap_inplace (uint64_t *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
void | protozero::byteswap_inplace (int32_t *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
void | protozero::byteswap_inplace (int64_t *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
void | protozero::byteswap_inplace (float *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
void | protozero::byteswap_inplace (double *ptr) noexcept |
| byteswap the data pointed to by ptr in-place.
|
|
Contains functions to swap bytes in values (for different endianness).