Bitcoin Core  0.18.99
P2P Digital Currency
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 170 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 198 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 226 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 156 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 184 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 212 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 163 of file endian.h.

Here is the caller graph for this function:

◆ htole32()

uint32_t htole32 ( uint32_t  host_32bits)
inline

Definition at line 191 of file endian.h.

Here is the caller graph for this function:

◆ htole64()

uint64_t htole64 ( uint64_t  host_64bits)
inline

Definition at line 219 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 177 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 205 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 233 of file endian.h.

Here is the caller graph for this function: