Loading...
Searching...
No Matches
le_uint32_t Union Reference

A 32 bit integer in little endian. More...

Detailed Description

A 32 bit integer in little endian.

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

Definition at line 48 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
 
le_uint16_t l16 [2]
 little endian 16 bit representation
 

Field Documentation

◆ l16

le_uint16_t le_uint32_t::l16[2]

little endian 16 bit representation

Definition at line 52 of file byteorder.h.

◆ u16

uint16_t le_uint32_t::u16[2]

16 bit representation

Definition at line 51 of file byteorder.h.

◆ u32

uint32_t le_uint32_t::u32

32 bit representation

Definition at line 49 of file byteorder.h.

◆ u8

uint8_t le_uint32_t::u8[4]

8 bit representation

Definition at line 50 of file byteorder.h.


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