13#ifndef qcbor_number_decode_h 
   14#define qcbor_number_decode_h 
  331#ifndef USEFULBUF_DISABLE_ALL_FLOAT 
  464#ifndef QCBOR_DISABLE_PREFERRED_FLOAT 
  780                                   const int64_t          nLabel,
 
  797#ifndef QCBOR_DISABLE_EXP_AND_MANTISSA 
  852                                int64_t               *pnExponent);
 
  860                                      int64_t               *pnExponent);
 
  868                                       int64_t               *pnExponent);
 
  903                                           bool                  *pbMantissaIsNegative,
 
  904                                           int64_t               *pnExponent);
 
  914                                                 int64_t               *pnExponent);
 
  923                                                  bool                  *pbMantissaIsNegative,
 
  924                                                  int64_t               *pnExponent);
 
  962                                              bool                  *pbMantissaIsNegative,
 
  963                                              int64_t               *pnExponent);
 
  973                                                    int64_t               *pnExponent);
 
  982                                                     bool                  *pbMantissaIsNegative,
 
  983                                                     int64_t               *pnExponent);
 
 1035                         int64_t               *pnMantissa,
 
 1036                         int64_t               *pnExponent);
 
 1043                               int64_t               *pnMantissa,
 
 1044                               int64_t               *pnExponent);
 
 1049                                const char            *szLabel,
 
 1051                                int64_t               *pnMantissa,
 
 1052                                int64_t               *pnExponent);
 
 1082                                    bool                  *pbMantissaIsNegative,
 
 1083                                    int64_t               *pnExponent);
 
 1092                                          bool                   *pbMantissaIsNegative,
 
 1093                                          int64_t                *pnExponent);
 
 1098                                           const char            *szLabel,
 
 1102                                           bool                  *pbMantissaIsNegative,
 
 1103                                           int64_t               *pnExponent);
 
 1139                                       bool                  *pbMantissaIsNegative,
 
 1140                                       int64_t               *pnExponent);
 
 1149                                             bool                  *pbMantissaIsNegative,
 
 1150                                             int64_t               *pnExponent);
 
 1155                                              const char            *szLabel,
 
 1159                                              bool                  *pbMantissaIsNegative,
 
 1160                                              int64_t               *pnExponent);
 
 1211   if(src > INT32_MAX || src < INT32_MIN) {
 
 1214      *dest = (int32_t) src;
 
 
 1220QCBOR_Int64ToInt16(int64_t src, int16_t *dest)
 
 1222   if(src > INT16_MAX || src < INT16_MIN) {
 
 1225      *dest = (int16_t) src;
 
 1231QCBOR_Int64ToInt8(int64_t src, int8_t *dest)
 
 1233   if(src > INT8_MAX || src < INT8_MIN) {
 
 1236      *dest = (int8_t) src;
 
 1242QCBOR_Int64ToUInt32(int64_t src, uint32_t *dest)
 
 1244   if(src > UINT32_MAX || src < 0) {
 
 1247      *dest = (uint32_t) src;
 
 1253#define QCBOR_Int64UToInt16 QCBOR_Int64ToUInt16 
 1256QCBOR_Int64ToUInt16(int64_t src, uint16_t *dest)
 
 1258   if(src > UINT16_MAX || src < 0) {
 
 1261      *dest = (uint16_t) src;
 
 1267QCBOR_Int64ToUInt8(int64_t src, uint8_t *dest)
 
 1269   if(src > UINT8_MAX || src < 0) {
 
 1272      *dest = (uint8_t) src;
 
 1278QCBOR_Int64ToUInt64(int64_t src, uint64_t *dest)
 
 1283      *dest = (uint64_t) src;
 
 1308                      bool                  *pbIsNegative);
 
 1316                            bool                  *pbIsNegative);
 
 1321                             const char            *szLabel,
 
 1324                             bool                  *pbIsNegative);
 
 1326#ifndef QCBOR_CONFIG_DISABLE_EXP_AND_MANTISSA 
 1333                               int64_t               *pnMantissa,
 
 1334                               int64_t               *pnExponent);
 
 1341                                     int64_t               *pnMantissa,
 
 1342                                     int64_t               *pnExponent);
 
 1347                                      const char            *szLabel,
 
 1349                                      int64_t               *pnMantissa,
 
 1350                                      int64_t               *pnExponent);
 
 1371                                  bool               *pbMantissaIsNegative,
 
 1372                                  int64_t            *pnExponent);
 
 1382                                        int64_t            *pnExponent);
 
 1387                                         const char         *szLabel,
 
 1391                                         bool               *pbMantissaIsNegative,
 
 1392                                         int64_t            *pnExponent);
 
 1400                        int64_t            *pnMantissa,
 
 1401                        int64_t            *pnExponent);
 
 1408                              int64_t            *pnMantissa,
 
 1409                              int64_t            *pnExponent);
 
 1414                               const char         *szLabel,
 
 1416                               int64_t            *pnMantissa,
 
 1417                               int64_t            *pnExponent);
 
 1428                           bool               *pbMantissaIsNegative,
 
 1429                           int64_t            *pnExponent);
 
 1438                                 bool               *pbMantissaIsNegative,
 
 1439                                 int64_t            *pnExponent);
 
 1444                                  const char         *szLabel,
 
 1448                                  bool               *pbMantissaIsNegative,
 
 1449                                  int64_t            *pnExponent);
 
 1483                                            const char                   *szLabel,
 
 1506                                           const char                   *szLabel,
 
 1512#ifndef USEFULBUF_DISABLE_ALL_FLOAT 
 1531                                            const char                   *szLabel,
 
 1545    QCBORDecode_Private_GetUInt64Convert(pMe, uConvertTypes, puValue, &Item);
 
 
 1550                                   const int64_t                        nLabel,
 
 1555   QCBORDecode_Private_GetUInt64ConvertInMapN(pMe,
 
 
 1564                                    const char                         *szLabel,
 
 1569   QCBORDecode_Private_GetUInt64ConvertInMapSZ(pMe,
 
 
 1584                            const int64_t       nLabel,
 
 
 1595                             const char         *szLabel,
 
 
 1612    QCBORDecode_Private_GetInt64Convert(pMe, uConvertTypes, pnValue, &Item);
 
 
 1617                                  const int64_t                      nLabel,
 
 1622   QCBORDecode_Private_GetInt64ConvertInMapN(pMe,
 
 
 1631                                   const char                        *szLabel,
 
 1636   QCBORDecode_Private_GetInt64ConvertInMapSZ(pMe,
 
 
 1651                           const int64_t       nLabel,
 
 
 1662                            const char         *szLabel,
 
 
 1673#ifndef USEFULBUF_DISABLE_ALL_FLOAT 
 1680   QCBORDecode_Private_GetDoubleConvert(pMe, uConvertTypes, pdValue, &Item);
 
 
 1685                                   const int64_t                       nLabel,
 
 1690   QCBORDecode_Private_GetDoubleConvertInMapN(pMe,
 
 
 1699                                    const char                         *szLabel,
 
 1704   QCBORDecode_Private_GetDoubleConvertInMapSZ(pMe,
 
 
 1719                            const int64_t       nLabel,
 
 
 1730                             const char         *szLabel,
 
 
 1780                             const char                  *szLabel,
 
 
 1792#ifndef QCBOR_CONFIG_DISABLE_EXP_AND_MANTISSA 
 1796                               int64_t                     *pnMantissa,
 
 1797                               int64_t                     *pnExponent)
 
 
 1809                                     int64_t              *pnMantissa,
 
 1810                                     int64_t              *pnExponent)
 
 
 1821                                      const char          *szLabel,
 
 1823                                      int64_t             *pnMantissa,
 
 1824                                      int64_t             *pnExponent)
 
 
 1839                                  bool                *pbMantissaIsNegative,
 
 1840                                  int64_t             *pnExponent)
 
 1846                                                 pbMantissaIsNegative,
 
 
 1856                                        bool                *pbMantissaIsNegative,
 
 1857                                        int64_t             *pnExponent)
 
 1864                                                       pbMantissaIsNegative,
 
 
 1870                                         const char         *szLabel,
 
 1874                                         bool               *pbMantissaIsNegative,
 
 1875                                         int64_t            *pnExponent)
 
 1882                                                        pbMantissaIsNegative,
 
 
 1890                        int64_t                     *pnMantissa,
 
 1891                        int64_t                     *pnExponent)
 
 
 1900                              int64_t                     *pnMantissa,
 
 1901                              int64_t                     *pnExponent)
 
 
 1912                               const char                  *szLabel,
 
 1914                               int64_t                     *pnMantissa,
 
 1915                               int64_t                     *pnExponent)
 
 
 1929                           bool                        *pbMantissaIsNegative,
 
 1930                           int64_t                     *pnExponent)
 
 1936                                          pbMantissaIsNegative,
 
 
 1946                                 bool               *pbMantissaIsNegative,
 
 1947                                 int64_t            *pnExponent)
 
 1954                                                pbMantissaIsNegative,
 
 
 1960                                  const char                  *szLabel,
 
 1964                                  bool                        *pbMantissaIsNegative,
 
 1965                                  int64_t                     *pnExponent)
 
 1972                                                 pbMantissaIsNegative,
 
 
QCBORError
Definition qcbor_common.h:260
struct _QCBORDecodeContext QCBORDecodeContext
Definition qcbor_main_decode.h:785
void QCBORDecode_GetUInt64ConvertAllInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
QCBORError QCBORDecode_ProcessBigNumberNoPreferred(const QCBORItem Item, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
Decode a big number.
static void QCBORDecode_GetDecimalFractionInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Definition qcbor_number_decode.h:1806
static void QCBORDecode_GetBigFloatBigInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Definition qcbor_number_decode.h:1941
void QCBORDecode_GetDoubleConvertAll(QCBORDecodeContext *pCtx, const enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
Decode next item as a double floating-point value with conversion.
void QCBORDecode_GetTBigNumberNoPreferredInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
static void QCBORDecode_GetUInt64InMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, uint64_t *puValue)
Definition qcbor_number_decode.h:1594
void QCBORDecode_GetTBigFloatBigMantissaInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
static void QCBORDecode_GetUInt64Convert(QCBORDecodeContext *pCtx, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
Decode next item as an unsigned 64-bit integer with basic conversions.
Definition qcbor_number_decode.h:1540
void QCBORDecode_GetTDecimalFractionBigMantissaRaw(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Decode the next item as a decimal fraction with a big number. mantissa raw.
void QCBORDecode_GetDoubleConvertAllInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, const enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
void QCBORDecode_GetTDecimalFractionBigMantissaRawInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
static void QCBORDecode_GetBignumInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pValue, bool *pbIsNegative)
Definition qcbor_number_decode.h:1779
static void QCBORDecode_GetBigFloatInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, const enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Definition qcbor_number_decode.h:1911
static void QCBORDecode_GetDecimalFractionBig(QCBORDecodeContext *pCtx, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
[Deprecated] Decode a decimal fraction with big number mantissa.
Definition qcbor_number_decode.h:1835
static void QCBORDecode_GetBigFloatInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, const enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Definition qcbor_number_decode.h:1897
static void QCBORDecode_GetDecimalFractionBigInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pbMantissaIsNegative, bool *pbIsNegative, int64_t *pnExponent)
Definition qcbor_number_decode.h:1851
static void QCBORDecode_GetBignum(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pValue, bool *pbIsNegative)
[Deprecated] Decode big number with no processing.
Definition qcbor_number_decode.h:1756
static void QCBORDecode_GetDecimalFractionBigInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Definition qcbor_number_decode.h:1869
static void QCBORDecode_GetDouble(QCBORDecodeContext *pCtx, double *pValue)
Decode next item into a double floating-point value.
Definition qcbor_number_decode.h:1712
void QCBORDecode_GetTDecimalFractionInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
void QCBORDecode_GetUInt64ConvertAllInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
void QCBORDecode_GetTBigFloatBigMantissaInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
void QCBORDecode_GetTBigFloatBigMantissaRaw(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Decode the next item as a big float with a big number mantissa with out offsetting the mantissa.
QCBORDecodeNumberConvert
Definition qcbor_number_decode.h:37
@ QCBOR_CONVERT_TYPE_BIG_NUM
Definition qcbor_number_decode.h:50
@ QCBOR_CONVERT_TYPE_BIGFLOAT
Definition qcbor_number_decode.h:58
@ QCBOR_CONVERT_TYPE_FLOAT
Definition qcbor_number_decode.h:46
@ QCBOR_CONVERT_TYPE_XINT64
Definition qcbor_number_decode.h:41
@ QCBOR_CONVERT_TYPE_DECIMAL_FRACTION
Definition qcbor_number_decode.h:54
static void QCBORDecode_GetBigFloatBigInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Definition qcbor_number_decode.h:1959
void QCBORDecode_GetInt64ConvertAll(QCBORDecodeContext *pCtx, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
Decode next item into a signed 64-bit integer with conversions.
void QCBORDecode_GetTDecimalFractionInMapSZ(QCBORDecodeContext *pMe, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
static void QCBORDecode_GetBigFloat(QCBORDecodeContext *pCtx, const enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
[Deprecated] Decode a big float.
Definition qcbor_number_decode.h:1888
void QCBORDecode_GetTDecimalFractionBigMantissa(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Decode the next item as a decimal fraction with a big number mantissa.
void QCBORDecode_GetTBigFloatBigMantissaRawInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
void QCBORDecode_GetTBigFloatBigMantissa(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
Decode the next item as a big float with a big number mantissa.
void QCBORDecode_GetTDecimalFractionBigMantissaRawInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pbMantissaIsNegative, bool *pbIsNegative, int64_t *pnExponent)
void QCBORDecode_GetTDecimalFraction(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Decode the next item as a decimal fraction.
static void QCBORDecode_GetUInt64(QCBORDecodeContext *pCtx, uint64_t *puValue)
Decode next item into an unsigned 64-bit integer.
Definition qcbor_number_decode.h:1577
static void QCBORDecode_GetBigFloatBig(QCBORDecodeContext *pCtx, const enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
[Depreacted] Decode big float with a big number mantissa.
Definition qcbor_number_decode.h:1925
static void QCBORDecode_GetDecimalFractionInMapSZ(QCBORDecodeContext *pMe, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Definition qcbor_number_decode.h:1820
void QCBORDecode_GetTBigFloatBigMantissaRawInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
static void QCBORDecode_GetUInt64InMapN(QCBORDecodeContext *pCtx, int64_t nLabel, uint64_t *puValue)
Definition qcbor_number_decode.h:1583
void QCBORDecode_GetUInt64ConvertAll(QCBORDecodeContext *pCtx, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
Decode next item into an unsigned 64-bit integer with conversions.
static void QCBORDecode_GetBignumInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pValue, bool *pbIsNegative)
Definition qcbor_number_decode.h:1765
static void QCBORDecode_GetDecimalFraction(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
[Deprecated] Decode a decimal fraction.
Definition qcbor_number_decode.h:1794
void QCBORDecode_GetTBigNumberNoPreferred(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
Decode next item as a big number without preferred serialization.
void QCBORDecode_GetTBigNumberRaw(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pBigNumber, bool *pbIsNegative)
Decode the next item as a big number with no processing.
static void QCBORDecode_GetUInt64ConvertInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
Definition qcbor_number_decode.h:1563
static void QCBORDecode_GetDoubleInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, double *pdValue)
Definition qcbor_number_decode.h:1718
void QCBORDecode_GetTBigNumberNoPreferredInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
void QCBORDecode_GetTBigFloatInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
static void QCBORDecode_GetInt64(QCBORDecodeContext *pCtx, int64_t *pnValue)
Decode next item into a signed 64-bit integer.
Definition qcbor_number_decode.h:1644
static void QCBORDecode_GetDoubleConvertInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
Definition qcbor_number_decode.h:1684
QCBORError QCBORDecode_ProcessBigNumber(const QCBORItem Item, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
Decode a preferred serialization big number.
void QCBORDecode_GetTBigFloatInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
static void QCBORDecode_GetInt64ConvertInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
Definition qcbor_number_decode.h:1616
void QCBORDecode_GetTBigNumberInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
void QCBORDecode_GetNumberConvertPrecisely(QCBORDecodeContext *pCtx, QCBORItem *pNumber)
dCBOR Decode next as a number with precision-preserving conversions.
static void QCBORDecode_GetInt64Convert(QCBORDecodeContext *pCtx, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
Decode next item into a signed 64-bit integer with basic conversions.
Definition qcbor_number_decode.h:1607
void QCBORDecode_GetInt64ConvertAllInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
static void QCBORDecode_GetInt64InMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, int64_t *pnValue)
Definition qcbor_number_decode.h:1661
void QCBORDecode_GetTDecimalFractionBigMantissaInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pbMantissaIsNegative, bool *pbIsNegative, int64_t *pnExponent)
void QCBORDecode_GetDoubleConvertAllInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, const enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
void QCBORDecode_GetTBigNumberRawInMapSZ(QCBORDecodeContext *pMe, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pBigNumber, bool *pbIsNegative)
void QCBORDecode_GetTBigNumber(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
Decode next item as a big number encoded using preferred serialization.
static int QCBOR_Int64ToInt32(int64_t src, int32_t *dest)
Convert int64_t to smaller integers safely.
Definition qcbor_number_decode.h:1209
void QCBORDecode_GetTDecimalFractionBigMantissaInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf MantissaBuffer, UsefulBufC *pMantissa, bool *pbMantissaIsNegative, int64_t *pnExponent)
static void QCBORDecode_GetUInt64ConvertInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeNumberConvert uConvertTypes, uint64_t *puValue)
Definition qcbor_number_decode.h:1549
static void QCBORDecode_GetDoubleConvert(QCBORDecodeContext *pCtx, enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
Decode next item into a double floating-point with basic conversion.
Definition qcbor_number_decode.h:1675
void QCBORDecode_GetTBigNumberRawInMapN(QCBORDecodeContext *pMe, const int64_t nLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBufC *pBigNumber, bool *pbIsNegative)
void QCBORDecode_GetTBigNumberInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeTagReq uTagRequirement, UsefulBuf BigNumberBuf, UsefulBufC *pBigNumber, bool *pbIsNegative)
static void QCBORDecode_GetInt64ConvertInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
Definition qcbor_number_decode.h:1630
void QCBORDecode_GetInt64ConvertAllInMapN(QCBORDecodeContext *pCtx, int64_t nLabel, enum QCBORDecodeNumberConvert uConvertTypes, int64_t *pnValue)
void QCBORDecode_GetTBigFloat(QCBORDecodeContext *pCtx, enum QCBORDecodeTagReq uTagRequirement, int64_t *pnMantissa, int64_t *pnExponent)
Decode the next item as a big float.
static void QCBORDecode_GetInt64InMapN(QCBORDecodeContext *pCtx, int64_t nLabel, int64_t *pnValue)
Definition qcbor_number_decode.h:1650
static void QCBORDecode_GetDoubleConvertInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, enum QCBORDecodeNumberConvert uConvertTypes, double *pdValue)
Definition qcbor_number_decode.h:1698
static void QCBORDecode_GetDoubleInMapSZ(QCBORDecodeContext *pCtx, const char *szLabel, double *pdValue)
Definition qcbor_number_decode.h:1729
QCBORDecodeTagReq
Definition qcbor_tag_decode.h:160
Definition qcbor_main_decode.h:574
Definition UsefulBuf.h:280
Definition UsefulBuf.h:291