protozero  1.6.3
Minimalistic protocol buffer decoder and encoder in C++.
Namespaces | Functions
byteswap.hpp File Reference

Contains functions to swap bytes in values (for different endianness). More...

#include <protozero/config.hpp>
#include <cstdint>
Include dependency graph for byteswap.hpp:

Go to the source code of this file.

Namespaces

 protozero
 All parts of the protozero header-only library are in this namespace.
 

Functions

void protozero::byteswap_inplace (uint32_t *ptr) noexcept
 
void protozero::byteswap_inplace (uint64_t *ptr) noexcept
 
void protozero::byteswap_inplace (int32_t *ptr) noexcept
 
void protozero::byteswap_inplace (int64_t *ptr) noexcept
 
void protozero::byteswap_inplace (float *ptr) noexcept
 
void protozero::byteswap_inplace (double *ptr) noexcept
 

Detailed Description

Contains functions to swap bytes in values (for different endianness).