Bitcoin ABC  0.28.12
P2P Digital Currency
Functions
endian.h File Reference
#include <compat/byteswap.h>
#include <cstdint>
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 156 of file endian.h.

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

◆ be32toh()

uint32_t be32toh ( uint32_t  big_endian_32bits)
inline

Definition at line 180 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 204 of file endian.h.

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

◆ htobe16()

uint16_t htobe16 ( uint16_t  host_16bits)
inline

Definition at line 144 of file endian.h.

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

◆ htobe32()

uint32_t htobe32 ( uint32_t  host_32bits)
inline

Definition at line 168 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 192 of file endian.h.

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

◆ htole16()

uint16_t htole16 ( uint16_t  host_16bits)
inline

Definition at line 150 of file endian.h.

Here is the caller graph for this function:

◆ htole32()

uint32_t htole32 ( uint32_t  host_32bits)
inline

Definition at line 174 of file endian.h.

Here is the caller graph for this function:

◆ htole64()

uint64_t htole64 ( uint64_t  host_64bits)
inline

Definition at line 198 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 162 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 186 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 210 of file endian.h.

Here is the caller graph for this function: