OpenDOF Project
Files | Macros | Functions
PCRSwap
Portable C Runtime (PCR)

Network byte-order conversion, based on machine endianness. More...

Files

file  pcr.h
 Header file for the Portable C Runtime functions, defines and data types.
 

Macros

#define PCRSwap_Net8(value)
 Byte-swap an 8-bit value to/from Network Byte Order.
 

Functions

DOF_PCR_DECLSPEC uint16 PCRSwap_Net16 (uint16 value)
 Byte-swap a 16-bit value to/from Network Byte Order.
 
DOF_PCR_DECLSPEC uint32 PCRSwap_Net32 (uint32 value)
 Byte-swap a 32-bit value to/from Network Byte Order.
 
DOF_PCR_DECLSPEC uint64 PCRSwap_Net64 (uint64 value)
 Byte-swap a 64-bit value to/from Network Byte Order.
 

Detailed Description

Network byte-order conversion, based on machine endianness.

core-c-dof-oal Version 8.0.1 Build 0
2018-01-22