ASN1C C/C++ Common Runtime  ASN1C v7.2.x
Functions
rtxStreamHexText.h File Reference
#include "rtxsrc/osSysTypes.h"
#include "rtxsrc/rtxExternDefs.h"
#include "rtxsrc/rtxStream.h"

Go to the source code of this file.

Functions

int rtxStreamHexTextAttach (OSCTXT *pctxt, OSUINT16 flags)
 

Function Documentation

◆ rtxStreamHexTextAttach()

int rtxStreamHexTextAttach ( OSCTXT pctxt,
OSUINT16  flags 
)

This function initializes a hexText stream and attaches it to the existing stream defined within the context. This type of stream object can only be used with an existing stream. It acts as a filter to perform conversion to/from hex characters to binary data.

Parameters
pctxtPointer to context structure variable.
flagsSpecifies the access mode for the stream:
  • OSRTSTRMF_INPUT = input (reading) stream;
  • OSRTSTRMF_OUTPUT = output (writing) stream.
Returns
Completion status of operation: 0 (0) = success, negative return value is error.