Loading...
Searching...
No Matches
be_uint64_t Union Reference

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

Detailed Description

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

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

Definition at line 96 of file byteorder.h.

#include <byteorder.h>

Data Fields

uint64_t u64
 64 bit representation
 
uint8_t u8 [8]
 8 bit representation
 
uint16_t u16 [4]
 16 bit representation
 
uint32_t u32 [2]
 32 bit representation
 
be_uint16_t b16 [4]
 big endian 16 bit representation
 
be_uint32_t b32 [2]
 big endian 32 bit representation
 

Field Documentation

◆ b16

be_uint16_t be_uint64_t::b16[4]

big endian 16 bit representation

Definition at line 101 of file byteorder.h.

◆ b32

be_uint32_t be_uint64_t::b32[2]

big endian 32 bit representation

Definition at line 102 of file byteorder.h.

◆ u16

uint16_t be_uint64_t::u16[4]

16 bit representation

Definition at line 99 of file byteorder.h.

◆ u32

uint32_t be_uint64_t::u32[2]

32 bit representation

Definition at line 100 of file byteorder.h.

◆ u64

uint64_t be_uint64_t::u64

64 bit representation

Definition at line 97 of file byteorder.h.

◆ u8

uint8_t be_uint64_t::u8[8]

8 bit representation

Definition at line 98 of file byteorder.h.


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