rtBCD.h File Reference

#include "rtsrc/asn1type.h"
#include "rtxsrc/rtxTBCD.h"

Go to the source code of this file.

Defines

#define rtQ825TBCDToString(numocts, data, buffer, bufsiz)   rtxQ825TBCDToString(numocts, data, buffer, bufsiz)
#define rtDecQ825TBCDString(pctxt, numocts, buffer, bufsiz)   rtxDecQ825TBCDString(pctxt, numocts, buffer, bufsiz)
#define rtEncQ825TBCDString(pctxt, str)   rtxEncQ825TBCDString(pctxt, str)
#define rtTBCDBinToChar(bcdDigit, pdigit)   rtxTBCDBinToChar(bcdDigit, pdigit)
#define rtTBCDCharToBin(digit, pbyte)   rtxTBCDCharToBin(digit, pbyte)

Functions

const char * rtBCDToString (OSUINT32 numocts, const OSOCTET *data, char *buffer, size_t bufsiz, OSBOOL isTBCD)
int rtStringToBCD (const char *str, OSOCTET *bcdStr, size_t bufsiz, OSBOOL isTBCD)
int rtStringToDynBCD (OSCTXT *pctxt, const char *str, ASN1DynOctStr *poctstr)
int rtStringToTBCD (const char *str, OSOCTET *bcdStr, size_t bufsiz)
const char * rtTBCDToString (OSUINT32 numocts, const OSOCTET *data, char *buffer, size_t bufsiz)

Detailed Description

Binary-decimal conversion functions.