Bitcoin Core 28.99.0
P2P Digital Currency
Functions
endian.h File Reference
#include <compat/byteswap.h>
#include <bit>
#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

BSWAP_CONSTEXPR uint16_t htobe16_internal (uint16_t host_16bits)
 
BSWAP_CONSTEXPR uint16_t htole16_internal (uint16_t host_16bits)
 
BSWAP_CONSTEXPR uint16_t be16toh_internal (uint16_t big_endian_16bits)
 
BSWAP_CONSTEXPR uint16_t le16toh_internal (uint16_t little_endian_16bits)
 
BSWAP_CONSTEXPR uint32_t htobe32_internal (uint32_t host_32bits)
 
BSWAP_CONSTEXPR uint32_t htole32_internal (uint32_t host_32bits)
 
BSWAP_CONSTEXPR uint32_t be32toh_internal (uint32_t big_endian_32bits)
 
BSWAP_CONSTEXPR uint32_t le32toh_internal (uint32_t little_endian_32bits)
 
BSWAP_CONSTEXPR uint64_t htobe64_internal (uint64_t host_64bits)
 
BSWAP_CONSTEXPR uint64_t htole64_internal (uint64_t host_64bits)
 
BSWAP_CONSTEXPR uint64_t be64toh_internal (uint64_t big_endian_64bits)
 
BSWAP_CONSTEXPR uint64_t le64toh_internal (uint64_t little_endian_64bits)
 

Function Documentation

◆ be16toh_internal()

BSWAP_CONSTEXPR uint16_t be16toh_internal ( uint16_t  big_endian_16bits)
inline

Definition at line 23 of file endian.h.

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

◆ be32toh_internal()

BSWAP_CONSTEXPR uint32_t be32toh_internal ( uint32_t  big_endian_32bits)
inline

Definition at line 43 of file endian.h.

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

◆ be64toh_internal()

BSWAP_CONSTEXPR uint64_t be64toh_internal ( uint64_t  big_endian_64bits)
inline

Definition at line 63 of file endian.h.

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

◆ htobe16_internal()

BSWAP_CONSTEXPR uint16_t htobe16_internal ( uint16_t  host_16bits)
inline

Definition at line 13 of file endian.h.

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

◆ htobe32_internal()

BSWAP_CONSTEXPR uint32_t htobe32_internal ( uint32_t  host_32bits)
inline

Definition at line 33 of file endian.h.

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

◆ htobe64_internal()

BSWAP_CONSTEXPR uint64_t htobe64_internal ( uint64_t  host_64bits)
inline

Definition at line 53 of file endian.h.

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

◆ htole16_internal()

BSWAP_CONSTEXPR uint16_t htole16_internal ( uint16_t  host_16bits)
inline

Definition at line 18 of file endian.h.

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

◆ htole32_internal()

BSWAP_CONSTEXPR uint32_t htole32_internal ( uint32_t  host_32bits)
inline

Definition at line 38 of file endian.h.

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

◆ htole64_internal()

BSWAP_CONSTEXPR uint64_t htole64_internal ( uint64_t  host_64bits)
inline

Definition at line 58 of file endian.h.

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

◆ le16toh_internal()

BSWAP_CONSTEXPR uint16_t le16toh_internal ( uint16_t  little_endian_16bits)
inline

Definition at line 28 of file endian.h.

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

◆ le32toh_internal()

BSWAP_CONSTEXPR uint32_t le32toh_internal ( uint32_t  little_endian_32bits)
inline

Definition at line 48 of file endian.h.

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

◆ le64toh_internal()

BSWAP_CONSTEXPR uint64_t le64toh_internal ( uint64_t  little_endian_64bits)
inline

Definition at line 68 of file endian.h.

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