Raven Core  3.0.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
endian.h File Reference
#include "compat/byteswap.h"
#include <stdint.h>
Include dependency graph for endian.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint16_t htobe16 (uint16_t host_16bits)
 
uint16_t htole16 (uint16_t host_16bits)
 
uint16_t be16toh (uint16_t big_endian_16bits)
 
uint16_t le16toh (uint16_t little_endian_16bits)
 
uint32_t htobe32 (uint32_t host_32bits)
 
uint32_t htole32 (uint32_t host_32bits)
 
uint32_t be32toh (uint32_t big_endian_32bits)
 
uint32_t le32toh (uint32_t little_endian_32bits)
 
uint64_t htobe64 (uint64_t host_64bits)
 
uint64_t htole64 (uint64_t host_64bits)
 
uint64_t be64toh (uint64_t big_endian_64bits)
 
uint64_t le64toh (uint64_t little_endian_64bits)
 

Function Documentation

◆ be16toh()

uint16_t be16toh ( uint16_t  big_endian_16bits)
inline

Definition at line 126 of file endian.h.

Here is the call graph for this function:

◆ be32toh()

uint32_t be32toh ( uint32_t  big_endian_32bits)
inline

Definition at line 154 of file endian.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ be64toh()

uint64_t be64toh ( uint64_t  big_endian_64bits)
inline

Definition at line 182 of file endian.h.

Here is the call graph for this function:

◆ htobe16()

uint16_t htobe16 ( uint16_t  host_16bits)
inline

Definition at line 112 of file endian.h.

Here is the call graph for this function:

◆ htobe32()

uint32_t htobe32 ( uint32_t  host_32bits)
inline

Definition at line 140 of file endian.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ htobe64()

uint64_t htobe64 ( uint64_t  host_64bits)
inline

Definition at line 168 of file endian.h.

Here is the call graph for this function:

◆ htole16()

uint16_t htole16 ( uint16_t  host_16bits)
inline

Definition at line 119 of file endian.h.

Here is the caller graph for this function:

◆ htole32()

uint32_t htole32 ( uint32_t  host_32bits)
inline

Definition at line 147 of file endian.h.

Here is the caller graph for this function:

◆ htole64()

uint64_t htole64 ( uint64_t  host_64bits)
inline

Definition at line 175 of file endian.h.

Here is the caller graph for this function:

◆ le16toh()

uint16_t le16toh ( uint16_t  little_endian_16bits)
inline

Definition at line 133 of file endian.h.

Here is the caller graph for this function:

◆ le32toh()

uint32_t le32toh ( uint32_t  little_endian_32bits)
inline

Definition at line 161 of file endian.h.

Here is the caller graph for this function:

◆ le64toh()

uint64_t le64toh ( uint64_t  little_endian_64bits)
inline

Definition at line 189 of file endian.h.

Here is the caller graph for this function: