Remote Call Framework 3.3
ByteOrdering.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6 // https://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF under GPL terms.
12 //
13 // Version: 3.3
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_RCF_BYTEORDERING_HPP
19 #define INCLUDE_RCF_BYTEORDERING_HPP
20 
21 #include <RCF/Export.hpp>
22 
23 namespace RCF {
24 
25  RCF_EXPORT void machineToNetworkOrder(void *buffer, int width, int count);
26  RCF_EXPORT void networkToMachineOrder(void *buffer, int width, int count);
27  RCF_EXPORT bool machineOrderEqualsNetworkOrder();
28  RCF_EXPORT bool isPlatformLittleEndian();
29 
30 } // namespace RCF
31 
32 #endif // ! INCLUDE_RCF_BYTEORDERING_HPP
Definition: AmiIoHandler.hpp:23