XBinder  Version 2.9.x
rtxIntDecode.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2022 Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
30 #ifndef _RTXINTDECODE_H_
31 #define _RTXINTDECODE_H_
32 
33 #include "rtxsrc/rtxContext.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
49 EXTERNRT int rtxDecInt8 (OSCTXT* pctxt, OSINT8* pvalue);
50 
63 EXTERNRT int rtxDecInt16 (OSCTXT* pctxt, OSINT16* pvalue, OSSIZE nbytes);
64 
77 EXTERNRT int rtxDecInt32 (OSCTXT* pctxt, OSINT32* pvalue, OSSIZE nbytes);
78 
91 EXTERNRT int rtxDecInt64 (OSCTXT* pctxt, OSINT64* pvalue, OSSIZE nbytes);
92 
103 EXTERNRT int rtxDecUInt8 (OSCTXT* pctxt, OSUINT8* pvalue);
104 
116 EXTERNRT int rtxDecUInt16 (OSCTXT* pctxt, OSUINT16* pvalue, OSSIZE nbytes);
117 
129 EXTERNRT int rtxDecUInt32 (OSCTXT* pctxt, OSUINT32* pvalue, OSSIZE nbytes);
130 
142 EXTERNRT int rtxDecUInt64 (OSCTXT* pctxt, OSUINT64* pvalue, OSSIZE nbytes);
143 
144 #ifdef __cplusplus
145 }
146 #endif
147 
148 #endif
EXTERNRT int rtxDecUInt8(OSCTXT *pctxt, OSUINT8 *pvalue)
This macro decodes an 8-bit unsigned integer at the current message buffer/stream location and advanc...
EXTERNRT int rtxDecUInt16(OSCTXT *pctxt, OSUINT16 *pvalue, OSSIZE nbytes)
This function decodes an 16-bit unsigned integer at the current message buffer/stream location and ad...
EXTERNRT int rtxDecInt8(OSCTXT *pctxt, OSINT8 *pvalue)
This macro decodes an 8-bit signed integer at the current message buffer/stream location and advances...
EXTERNRT int rtxDecInt32(OSCTXT *pctxt, OSINT32 *pvalue, OSSIZE nbytes)
This function decodes an 32-bit signed integer at the current message buffer/stream location and adva...
Common run-time context definitions.
EXTERNRT int rtxDecInt64(OSCTXT *pctxt, OSINT64 *pvalue, OSSIZE nbytes)
This function decodes an 64-bit signed integer at the current message buffer/stream location and adva...
EXTERNRT int rtxDecUInt32(OSCTXT *pctxt, OSUINT32 *pvalue, OSSIZE nbytes)
This function decodes an 32-bit unsigned integer at the current message buffer/stream location and ad...
EXTERNRT int rtxDecUInt64(OSCTXT *pctxt, OSUINT64 *pvalue, OSSIZE nbytes)
This function decodes a 64-bit unsigned integer at the current message buffer/stream location and adv...
Run-time context structure.
Definition: rtxContext.h:198
EXTERNRT int rtxDecInt16(OSCTXT *pctxt, OSINT16 *pvalue, OSSIZE nbytes)
This function decodes an 16-bit signed integer at the current message buffer/stream location and adva...