XBinder
Version 2.9.x
|
General purpose integer encode functions. More...
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Functions | |
EXTERNRT int | rtxEncUInt32 (OSCTXT *pctxt, OSUINT32 value, OSSIZE size) |
This function will encode the given unsigned integer into big-endian form. More... | |
General purpose integer encode functions.
These encode integer value contents into big-endian form which is a common format for a number of different encoding rules.
Definition in file rtxIntEncode.h.
EXTERNRT int rtxEncUInt32 | ( | OSCTXT * | pctxt, |
OSUINT32 | value, | ||
OSSIZE | size | ||
) |
This function will encode the given unsigned integer into big-endian form.
One, two, and four byte fixed sizes are supported.
pctxt | Pointer to a context structure. This provides a storage area for the function to store all working variables that must be maintained between function calls. |
value | The value to be encoded. |
size | Size of the field in bytes into which the value should be encoded (1, 2, or 4). |