Interface status: |
externallyDefinedApi |
|
bswap16 (x) __bswap16(x)
Description
General byte order swapping functions.
Parameters
Interface status: |
externallyDefinedApi |
|
bswap32 (x) __bswap32(x)
Description
General byte order swapping functions.
Parameters
Interface status: |
externallyDefinedApi |
|
bswap64 (x) __bswap64(x)
Description
General byte order swapping functions.
Parameters
Interface status: |
externallyDefinedApi |
|
htobe16 (x) bswap16((x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
htobe32 (x) bswap32((x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
htobe64 (x) bswap64((x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
htole16 (x) ((uint16_t)(x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
htole32 (x) ((uint32_t)(x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
htole64 (x) ((uint64_t)(x))
Description
Macro returning a integer in the system's native byte order converted to big endian byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
be16toh (x) bswap16((x))
Description
Macro returning a big endian byte ordered integer converted to the system's native byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
be32toh (x) bswap32((x))
Description
Macro returning a big endian byte ordered integer converted to the system's native byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
be64toh (x) bswap64((x))
Description
Macro returning a big endian byte ordered integer converted to the system's native byte order. The return value will be the
same as the argument on big endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
le16toh (x) ((uint16_t)(x))
Description
Macro returning a little endian byte ordered integer converted to the system's native byte order. The return value will be
the same as the argument on little endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
le32toh (x) ((uint32_t)(x))
Description
Macro returning a little endian byte ordered integer converted to the system's native byte order. The return value will be
the same as the argument on little endian systems.
Parameters
Interface status: |
externallyDefinedApi |
|
le64toh (x) ((uint64_t)(x))
Description
Macro returning a little endian byte ordered integer converted to the system's native byte order. The return value will be
the same as the argument on little endian systems.
Parameters
static inline uint16_t be16dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline uint32_t be32dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline uint64_t be64dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline uint16_t le16dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline uint32_t le32dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline uint64_t le64dec(const void *pp);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
Return value
static inline void be16enc(void *pp, uint16_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
static inline void be32enc(void *pp, uint32_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
static inline void be64enc(void *pp, uint64_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
static inline void le16enc(void *pp, uint16_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
static inline void le32enc(void *pp, uint32_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters
static inline void le64enc(void *pp, uint64_t u);
Description
Alignment-agnostic encode or decode bytestream to or from little or big endian.
Parameters