roo_io
API Documentation for roo_io
Loading...
Searching...
No Matches
roo_io::byte_order Namespace Reference

Data Structures

struct  Converter
 
struct  Converter< storage_type, byte_order, byte_order >
 
struct  Swapper
 
struct  Swapper< uint16_t >
 
struct  Swapper< uint32_t >
 
struct  Swapper< uint64_t >
 
struct  Swapper< uint8_t >
 

Functions

template<typename storage_type >
constexpr storage_type Swap (storage_type in)
 
template<typename storage_type , ByteOrder src, ByteOrder dst>
constexpr storage_type Convert (storage_type in)
 

Function Documentation

◆ Convert()

template<typename storage_type , ByteOrder src, ByteOrder dst>
constexpr storage_type roo_io::byte_order::Convert ( storage_type  in)
constexpr

Definition at line 89 of file byte_order.h.

◆ Swap()

template<typename storage_type >
constexpr storage_type roo_io::byte_order::Swap ( storage_type  in)
constexpr