Loading...
Searching...
No Matches
be_uint16_t Union Reference

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

Detailed Description

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

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

Definition at line 74 of file byteorder.h.

#include <byteorder.h>

Data Fields

uint16_t u16
 16 bit representation
 
uint8_t u8 [2]
 8 bit representation
 

Field Documentation

◆ u16

uint16_t be_uint16_t::u16

16 bit representation

Definition at line 75 of file byteorder.h.

◆ u8

uint8_t be_uint16_t::u8[2]

8 bit representation

Definition at line 76 of file byteorder.h.


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