be_uint32_t Union Reference

A 32 bit integer in big endian aka network byte order. More...

Detailed Description

A 32 bit integer in big endian aka network byte order.

This is a wrapper around an uint32_t to catch missing conversions between different byte orders at compile time.

Definition at line 86 of file byteorder.h.

#include <byteorder.h>

Data Fields

uint32_t u32
 32 bit representation
 
uint8_t u8 [4]
 8 bit representation
 
uint16_t u16 [2]
 16 bit representation
 
be_uint16_t b16 [2]
 big endian 16 bit representation
 

The documentation for this union was generated from the following file: