Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 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.

References bswap_16().

◆ be32toh()

◆ be64toh()

uint64_t be64toh ( uint64_t  big_endian_64bits)
inline

Definition at line 226 of file endian.h.

References bswap_64().

Referenced by ReadBE64().

◆ htobe32()

◆ htobe64()

uint64_t htobe64 ( uint64_t  host_64bits)
inline

Definition at line 212 of file endian.h.

References bswap_64().

Referenced by WriteBE64().

◆ htole16()

uint16_t htole16 ( uint16_t  host_16bits)
inline

Definition at line 163 of file endian.h.

Referenced by ser_writedata16(), and WriteLE16().

◆ htole32()

uint32_t htole32 ( uint32_t  host_32bits)
inline

Definition at line 191 of file endian.h.

Referenced by ser_writedata32(), and WriteLE32().

◆ htole64()

uint64_t htole64 ( uint64_t  host_64bits)
inline

Definition at line 219 of file endian.h.

Referenced by ser_writedata64(), and WriteLE64().

◆ le16toh()

uint16_t le16toh ( uint16_t  little_endian_16bits)
inline

Definition at line 177 of file endian.h.

Referenced by ReadLE16(), and ser_readdata16().

◆ le32toh()

uint32_t le32toh ( uint32_t  little_endian_32bits)
inline

Definition at line 205 of file endian.h.

Referenced by ReadLE32(), and ser_readdata32().

◆ le64toh()

uint64_t le64toh ( uint64_t  little_endian_64bits)
inline

Definition at line 233 of file endian.h.

Referenced by ReadLE64(), and ser_readdata64().

Released under the MIT license