MySQL 9.1.0
Source Code Documentation
|
plugin/group_replication/libmysqlgcs/include/mysql/gcs/xplatform/byteorder.h More...
#include <stdint.h>
#include "plugin/group_replication/libmysqlgcs/include/mysql/gcs/mysql_gcs.h"
#include <endian.h>
Go to the source code of this file.
Functions | |
uint16_t | le16toh (uint16_t x) |
Converting a 16 bit integer from little-endian byte order to host byteorder. More... | |
uint32_t | le32toh (uint32_t x) |
Converting a 32 bit integer from little-endian byte order to host byteorder. More... | |
uint64_t | le64toh (uint64_t x) |
Converting a 64 bit integer from little-endian byte order to host byteorder. More... | |
uint16_t | htole16 (uint16_t x) |
Converting a 16 bit integer from host's byte order to little-endian byte order. More... | |
uint32_t | htole32 (uint32_t x) |
Converting a 32 bit integer from host's byte order to little-endian byte order. More... | |
uint64_t | htole64 (uint64_t x) |
Converting a 64 bit integer from host's byte order to little-endian byte order. More... | |
plugin/group_replication/libmysqlgcs/include/mysql/gcs/xplatform/byteorder.h
The file contains functions to convert the byte encoding of integer values to and from little-endian and big-endian byte order.
|
inline |
Converting a 16 bit integer from host's byte order to little-endian byte order.
x | 16-bit integer in host byte order |
|
inline |
Converting a 32 bit integer from host's byte order to little-endian byte order.
x | 32-bit integer in host byte order |
|
inline |
Converting a 64 bit integer from host's byte order to little-endian byte order.
x | 64-bit integer in host's byte order |
|
inline |
Converting a 16 bit integer from little-endian byte order to host byteorder.
x | 16-bit integer in little endian byte order |
|
inline |
Converting a 32 bit integer from little-endian byte order to host byteorder.
x | 32-bit integer in little endian byte order |
|
inline |
Converting a 64 bit integer from little-endian byte order to host byteorder.
x | 64-bit integer in little endian byte order |