blob: 4df17a287e2c493eebe067ceacfa57f4e914f838 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>TinyCBOR API: cbor.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">TinyCBOR API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">cbor.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><blockquote class="doxtable">
<p></p>
<p></p>
</blockquote>
<p>The &lt;<a class="el" href="a00004.html" title="The &lt;cbor.h&gt; is the main header in TinyCBOR and defines the constants used by most functions as well ...">cbor.h</a>&gt; is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (<a class="el" href="a00001.html" title="Structure used to encode to CBOR. ">CborEncoder</a>) and decoding (<a class="el" href="a00002.html" title="This type contains one value parsed from the CBOR stream. ">CborValue</a>).
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;assert.h&gt;</code><br/>
<code>#include &lt;limits.h&gt;</code><br/>
<code>#include &lt;stddef.h&gt;</code><br/>
<code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &quot;tinycbor-version.h&quot;</code><br/>
<code>#include &lt;stdbool.h&gt;</code><br/>
</div>
<p><a href="a00004_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html">CborEncoder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure used to encode to CBOR. <a href="a00001.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00002.html">CborValue</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This type contains one value parsed from the CBOR stream. <a href="a00002.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga46c29d9d57408740dc269d6125d37d26"><td class="memItemLeft" align="right" valign="top">typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#ga46c29d9d57408740dc269d6125d37d26">CborTag</a></td></tr>
<tr class="memdesc:ga46c29d9d57408740dc269d6125d37d26"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef is an unsigned 64-bit integer. <a href="a00017.html#ga46c29d9d57408740dc269d6125d37d26">More...</a><br/></td></tr>
<tr class="separator:ga46c29d9d57408740dc269d6125d37d26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga38f51ceba8bc8a9b1cf7dd31e3f9c178"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#ga38f51ceba8bc8a9b1cf7dd31e3f9c178">CborType</a> </td></tr>
<tr class="memdesc:ga38f51ceba8bc8a9b1cf7dd31e3f9c178"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborType enum contains the types known to TinyCBOR. <a href="a00017.html#ga38f51ceba8bc8a9b1cf7dd31e3f9c178">More...</a><br/></td></tr>
<tr class="separator:ga38f51ceba8bc8a9b1cf7dd31e3f9c178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade6fa23a8fb3df9db434c69ca05d5ec1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#gade6fa23a8fb3df9db434c69ca05d5ec1">CborKnownTags</a> </td></tr>
<tr class="memdesc:gade6fa23a8fb3df9db434c69ca05d5ec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborKnownTags enum contains known tags specified in RFC 7049, for use by the application. <a href="a00017.html#gade6fa23a8fb3df9db434c69ca05d5ec1">More...</a><br/></td></tr>
<tr class="separator:gade6fa23a8fb3df9db434c69ca05d5ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76e9c9acc63dd940da4ab7e91309f7b5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> </td></tr>
<tr class="memdesc:ga76e9c9acc63dd940da4ab7e91309f7b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborError enum contains the possible error values used by the CBOR encoder and decoder. <a href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">More...</a><br/></td></tr>
<tr class="separator:ga76e9c9acc63dd940da4ab7e91309f7b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7df91cad1cba43d5d0103284fc390fc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gac7df91cad1cba43d5d0103284fc390fc">CborValidationFlags</a> </td></tr>
<tr class="memdesc:gac7df91cad1cba43d5d0103284fc390fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborValidationFlags enum contains flags that control the validation of a CBOR stream. <a href="a00019.html#gac7df91cad1cba43d5d0103284fc390fc">More...</a><br/></td></tr>
<tr class="separator:gac7df91cad1cba43d5d0103284fc390fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc03414f6f6313d18ae5c56d4167d798"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00020.html#gacc03414f6f6313d18ae5c56d4167d798">CborPrettyFlags</a> </td></tr>
<tr class="memdesc:gacc03414f6f6313d18ae5c56d4167d798"><td class="mdescLeft">&#160;</td><td class="mdescRight">The CborPrettyFlags enum contains flags that control the conversion of CBOR to text format. <a href="a00020.html#gacc03414f6f6313d18ae5c56d4167d798">More...</a><br/></td></tr>
<tr class="separator:gacc03414f6f6313d18ae5c56d4167d798"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gad4519e8ab62ea64773fa6dce00c361dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad4519e8ab62ea64773fa6dce00c361dc"></a>
CBOR_API const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#gad4519e8ab62ea64773fa6dce00c361dc">cbor_error_string</a> (<a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> error)</td></tr>
<tr class="memdesc:gad4519e8ab62ea64773fa6dce00c361dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the error string corresponding to the CBOR error condition <em>error</em>. <br/></td></tr>
<tr class="separator:gad4519e8ab62ea64773fa6dce00c361dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga257051966d907f88af804f30f2e9d8e2"><td class="memItemLeft" align="right" valign="top">CBOR_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga257051966d907f88af804f30f2e9d8e2">cbor_encoder_init</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, uint8_t *buffer, size_t size, int flags)</td></tr>
<tr class="memdesc:ga257051966d907f88af804f30f2e9d8e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a <a class="el" href="a00001.html" title="Structure used to encode to CBOR. ">CborEncoder</a> structure <em>encoder</em> by pointing it to buffer <em>buffer</em> of size <em>size</em>. <a href="a00018.html#ga257051966d907f88af804f30f2e9d8e2">More...</a><br/></td></tr>
<tr class="separator:ga257051966d907f88af804f30f2e9d8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b898ce6f5821c5aba8b6f0020c4b5ba"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga2b898ce6f5821c5aba8b6f0020c4b5ba">cbor_encode_uint</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, uint64_t value)</td></tr>
<tr class="memdesc:ga2b898ce6f5821c5aba8b6f0020c4b5ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the unsigned 64-bit integer <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga2b898ce6f5821c5aba8b6f0020c4b5ba">More...</a><br/></td></tr>
<tr class="separator:ga2b898ce6f5821c5aba8b6f0020c4b5ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbf6e10fd963d673f5ad293dff4a67a9"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gabbf6e10fd963d673f5ad293dff4a67a9">cbor_encode_int</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, int64_t value)</td></tr>
<tr class="memdesc:gabbf6e10fd963d673f5ad293dff4a67a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the signed 64-bit integer <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#gabbf6e10fd963d673f5ad293dff4a67a9">More...</a><br/></td></tr>
<tr class="separator:gabbf6e10fd963d673f5ad293dff4a67a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e84daa854e0480f4a3758bcb46b9b60"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga0e84daa854e0480f4a3758bcb46b9b60">cbor_encode_negative_int</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, uint64_t absolute_value)</td></tr>
<tr class="memdesc:ga0e84daa854e0480f4a3758bcb46b9b60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the negative 64-bit integer whose absolute value is <em>absolute_value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga0e84daa854e0480f4a3758bcb46b9b60">More...</a><br/></td></tr>
<tr class="separator:ga0e84daa854e0480f4a3758bcb46b9b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga923a63a01dae47a3dd46f74a3f744008"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga923a63a01dae47a3dd46f74a3f744008">cbor_encode_simple_value</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, uint8_t value)</td></tr>
<tr class="memdesc:ga923a63a01dae47a3dd46f74a3f744008"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the CBOR Simple Type of value <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga923a63a01dae47a3dd46f74a3f744008">More...</a><br/></td></tr>
<tr class="separator:ga923a63a01dae47a3dd46f74a3f744008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77b579b1a5a867fc0712e46bb4eb3200"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga77b579b1a5a867fc0712e46bb4eb3200">cbor_encode_tag</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, <a class="el" href="a00017.html#ga46c29d9d57408740dc269d6125d37d26">CborTag</a> tag)</td></tr>
<tr class="memdesc:ga77b579b1a5a867fc0712e46bb4eb3200"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the CBOR tag <em>tag</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga77b579b1a5a867fc0712e46bb4eb3200">More...</a><br/></td></tr>
<tr class="separator:ga77b579b1a5a867fc0712e46bb4eb3200"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fa673c63e85b1fd6f8067aca4ccdde4"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga4fa673c63e85b1fd6f8067aca4ccdde4">cbor_encode_text_string</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const char *string, size_t length)</td></tr>
<tr class="memdesc:ga4fa673c63e85b1fd6f8067aca4ccdde4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the byte string <em>string</em> of length <em>length</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga4fa673c63e85b1fd6f8067aca4ccdde4">More...</a><br/></td></tr>
<tr class="separator:ga4fa673c63e85b1fd6f8067aca4ccdde4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6df3eff486535322f66584dc5431f9e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga6df3eff486535322f66584dc5431f9e9">cbor_encode_text_stringz</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const char *string)</td></tr>
<tr class="memdesc:ga6df3eff486535322f66584dc5431f9e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the null-terminated text string <em>string</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga6df3eff486535322f66584dc5431f9e9">More...</a><br/></td></tr>
<tr class="separator:ga6df3eff486535322f66584dc5431f9e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1260b72bb0f067fd3c68d49a6b5f58d0"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga1260b72bb0f067fd3c68d49a6b5f58d0">cbor_encode_byte_string</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const uint8_t *string, size_t length)</td></tr>
<tr class="memdesc:ga1260b72bb0f067fd3c68d49a6b5f58d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the text string <em>string</em> of length <em>length</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga1260b72bb0f067fd3c68d49a6b5f58d0">More...</a><br/></td></tr>
<tr class="separator:ga1260b72bb0f067fd3c68d49a6b5f58d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac56f8c2ad79916f2719acb24f049cde5"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gac56f8c2ad79916f2719acb24f049cde5">cbor_encode_floating_point</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, <a class="el" href="a00017.html#ga38f51ceba8bc8a9b1cf7dd31e3f9c178">CborType</a> fpType, const void *value)</td></tr>
<tr class="memdesc:gac56f8c2ad79916f2719acb24f049cde5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the floating-point value of type <em>fpType</em> and pointed to by <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#gac56f8c2ad79916f2719acb24f049cde5">More...</a><br/></td></tr>
<tr class="separator:gac56f8c2ad79916f2719acb24f049cde5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga857154b97cad978f4afb3e2f809051bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga857154b97cad978f4afb3e2f809051bd"></a>
<a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga857154b97cad978f4afb3e2f809051bd">cbor_encode_boolean</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, bool value)</td></tr>
<tr class="memdesc:ga857154b97cad978f4afb3e2f809051bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the boolean value <em>value</em> to the CBOR stream provided by <em>encoder</em>. <br/></td></tr>
<tr class="separator:ga857154b97cad978f4afb3e2f809051bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30b769ff1da73ed8b4536f551347c5ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga30b769ff1da73ed8b4536f551347c5ed">cbor_encode_null</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder)</td></tr>
<tr class="memdesc:ga30b769ff1da73ed8b4536f551347c5ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the CBOR type representing a null value to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga30b769ff1da73ed8b4536f551347c5ed">More...</a><br/></td></tr>
<tr class="separator:ga30b769ff1da73ed8b4536f551347c5ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d9f0668e2cf69352a45095006efab4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga9d9f0668e2cf69352a45095006efab4f">cbor_encode_undefined</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder)</td></tr>
<tr class="memdesc:ga9d9f0668e2cf69352a45095006efab4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the CBOR type representing an undefined value to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga9d9f0668e2cf69352a45095006efab4f">More...</a><br/></td></tr>
<tr class="separator:ga9d9f0668e2cf69352a45095006efab4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8e5a125cfaceb9a32528e620e003bc6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gad8e5a125cfaceb9a32528e620e003bc6">cbor_encode_half_float</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const void *value)</td></tr>
<tr class="memdesc:gad8e5a125cfaceb9a32528e620e003bc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the IEEE 754 half-precision (16-bit) floating point value pointed to by <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#gad8e5a125cfaceb9a32528e620e003bc6">More...</a><br/></td></tr>
<tr class="separator:gad8e5a125cfaceb9a32528e620e003bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae981ee934ef22ce4c5b52f8069e1b15c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gae981ee934ef22ce4c5b52f8069e1b15c">cbor_encode_float</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, float value)</td></tr>
<tr class="memdesc:gae981ee934ef22ce4c5b52f8069e1b15c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the IEEE 754 single-precision (32-bit) floating point value <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#gae981ee934ef22ce4c5b52f8069e1b15c">More...</a><br/></td></tr>
<tr class="separator:gae981ee934ef22ce4c5b52f8069e1b15c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga211aa80dc5b793ee8dd74d24cb9e7ca6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga211aa80dc5b793ee8dd74d24cb9e7ca6">cbor_encode_double</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, double value)</td></tr>
<tr class="memdesc:ga211aa80dc5b793ee8dd74d24cb9e7ca6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the IEEE 754 double-precision (64-bit) floating point value <em>value</em> to the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#ga211aa80dc5b793ee8dd74d24cb9e7ca6">More...</a><br/></td></tr>
<tr class="separator:ga211aa80dc5b793ee8dd74d24cb9e7ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97b4d15feaa128ed900704523979bd3f"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga97b4d15feaa128ed900704523979bd3f">cbor_encoder_create_array</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, <a class="el" href="a00001.html">CborEncoder</a> *arrayEncoder, size_t length)</td></tr>
<tr class="memdesc:ga97b4d15feaa128ed900704523979bd3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a CBOR array in the CBOR stream provided by <em>encoder</em> and initializes <em>arrayEncoder</em> so that items can be added to the array using the <a class="el" href="a00001.html" title="Structure used to encode to CBOR. ">CborEncoder</a> functions. <a href="a00018.html#ga97b4d15feaa128ed900704523979bd3f">More...</a><br/></td></tr>
<tr class="separator:ga97b4d15feaa128ed900704523979bd3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4a5ef2d574b5ac30d18ba696e219340"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gad4a5ef2d574b5ac30d18ba696e219340">cbor_encoder_create_map</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, <a class="el" href="a00001.html">CborEncoder</a> *mapEncoder, size_t length)</td></tr>
<tr class="memdesc:gad4a5ef2d574b5ac30d18ba696e219340"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a CBOR map in the CBOR stream provided by <em>encoder</em> and initializes <em>mapEncoder</em> so that items can be added to the map using the <a class="el" href="a00001.html" title="Structure used to encode to CBOR. ">CborEncoder</a> functions. <a href="a00018.html#gad4a5ef2d574b5ac30d18ba696e219340">More...</a><br/></td></tr>
<tr class="separator:gad4a5ef2d574b5ac30d18ba696e219340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb4352260971102dbbd2f2a20e854c57"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gacb4352260971102dbbd2f2a20e854c57">cbor_encoder_close_container</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const <a class="el" href="a00001.html">CborEncoder</a> *containerEncoder)</td></tr>
<tr class="memdesc:gacb4352260971102dbbd2f2a20e854c57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the CBOR container (array or map) provided by <em>containerEncoder</em> and updates the CBOR stream provided by <em>encoder</em>. <a href="a00018.html#gacb4352260971102dbbd2f2a20e854c57">More...</a><br/></td></tr>
<tr class="separator:gacb4352260971102dbbd2f2a20e854c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa597ba3b072473a41448e131ca20a66b"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gaa597ba3b072473a41448e131ca20a66b">cbor_encoder_close_container_checked</a> (<a class="el" href="a00001.html">CborEncoder</a> *encoder, const <a class="el" href="a00001.html">CborEncoder</a> *containerEncoder)</td></tr>
<tr class="separator:gaa597ba3b072473a41448e131ca20a66b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga753c2f9e09db7fa9317f1c1f19a16342"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#ga753c2f9e09db7fa9317f1c1f19a16342">cbor_encoder_get_buffer_size</a> (const <a class="el" href="a00001.html">CborEncoder</a> *encoder, const uint8_t *buffer)</td></tr>
<tr class="memdesc:ga753c2f9e09db7fa9317f1c1f19a16342"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the total size of the buffer starting at <em>buffer</em> after the encoding finished without errors. <a href="a00018.html#ga753c2f9e09db7fa9317f1c1f19a16342">More...</a><br/></td></tr>
<tr class="separator:ga753c2f9e09db7fa9317f1c1f19a16342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc9abf6503d40787c3fd637a86bc0fb6"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00018.html#gafc9abf6503d40787c3fd637a86bc0fb6">cbor_encoder_get_extra_bytes_needed</a> (const <a class="el" href="a00001.html">CborEncoder</a> *encoder)</td></tr>
<tr class="memdesc:gafc9abf6503d40787c3fd637a86bc0fb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns how many more bytes the original buffer supplied to <a class="el" href="a00018.html#ga257051966d907f88af804f30f2e9d8e2" title="Initializes a CborEncoder structure encoder by pointing it to buffer buffer of size size...">cbor_encoder_init()</a> needs to be extended by so that no CborErrorOutOfMemory condition will happen for the encoding. <a href="a00018.html#gafc9abf6503d40787c3fd637a86bc0fb6">More...</a><br/></td></tr>
<tr class="separator:gafc9abf6503d40787c3fd637a86bc0fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb356bb705f2d8239f03b36081a43b4f"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gadb356bb705f2d8239f03b36081a43b4f">cbor_parser_init</a> (const uint8_t *buffer, size_t size, int flags, CborParser *parser, <a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:gadb356bb705f2d8239f03b36081a43b4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the CBOR parser for parsing <em>size</em> bytes beginning at <em>buffer</em>. <a href="a00019.html#gadb356bb705f2d8239f03b36081a43b4f">More...</a><br/></td></tr>
<tr class="separator:gadb356bb705f2d8239f03b36081a43b4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga19b60bc2cff3d3ffcc81adbcad09fd58"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga19b60bc2cff3d3ffcc81adbcad09fd58">cbor_value_validate_basic</a> (const <a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:ga19b60bc2cff3d3ffcc81adbcad09fd58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a basic validation of the CBOR stream pointed by <em>it</em> and returns the error it found. <a href="a00019.html#ga19b60bc2cff3d3ffcc81adbcad09fd58">More...</a><br/></td></tr>
<tr class="separator:ga19b60bc2cff3d3ffcc81adbcad09fd58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49bd2a99edcceb72962eedc7584cd19c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga49bd2a99edcceb72962eedc7584cd19c">cbor_value_at_end</a> (const <a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:ga49bd2a99edcceb72962eedc7584cd19c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if <em>it</em> has reached the end of the iteration, usually when advancing after the last item in an array or map. <a href="a00019.html#ga49bd2a99edcceb72962eedc7584cd19c">More...</a><br/></td></tr>
<tr class="separator:ga49bd2a99edcceb72962eedc7584cd19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06b1da795150786eb43ee83d65cd17d7"><td class="memItemLeft" align="right" valign="top">const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga06b1da795150786eb43ee83d65cd17d7">cbor_value_get_next_byte</a> (const <a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:ga06b1da795150786eb43ee83d65cd17d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the next byte that would be decoded if this <a class="el" href="a00002.html" title="This type contains one value parsed from the CBOR stream. ">CborValue</a> object were advanced. <a href="a00019.html#ga06b1da795150786eb43ee83d65cd17d7">More...</a><br/></td></tr>
<tr class="separator:ga06b1da795150786eb43ee83d65cd17d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0701f791608589ddfff0bdb8acee7b4"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gac0701f791608589ddfff0bdb8acee7b4">cbor_value_advance_fixed</a> (<a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:gac0701f791608589ddfff0bdb8acee7b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advances the CBOR value <em>it</em> by one fixed-size position. <a href="a00019.html#gac0701f791608589ddfff0bdb8acee7b4">More...</a><br/></td></tr>
<tr class="separator:gac0701f791608589ddfff0bdb8acee7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2ede5aacd59f04437c24ef8ca2f449a"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gae2ede5aacd59f04437c24ef8ca2f449a">cbor_value_advance</a> (<a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:gae2ede5aacd59f04437c24ef8ca2f449a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advances the CBOR value <em>it</em> by one element, skipping over containers. <a href="a00019.html#gae2ede5aacd59f04437c24ef8ca2f449a">More...</a><br/></td></tr>
<tr class="separator:gae2ede5aacd59f04437c24ef8ca2f449a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3da16a547bcb54d3ad2ca70cf0f4341"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf3da16a547bcb54d3ad2ca70cf0f4341"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaf3da16a547bcb54d3ad2ca70cf0f4341">cbor_value_is_container</a> (const <a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:gaf3da16a547bcb54d3ad2ca70cf0f4341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the <em>it</em> value is a container and requires recursion in order to decode (maps and arrays), false otherwise. <br/></td></tr>
<tr class="separator:gaf3da16a547bcb54d3ad2ca70cf0f4341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c8a61e484973272f34b00cfbef9ddfd"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga0c8a61e484973272f34b00cfbef9ddfd">cbor_value_enter_container</a> (const <a class="el" href="a00002.html">CborValue</a> *it, <a class="el" href="a00002.html">CborValue</a> *recursed)</td></tr>
<tr class="memdesc:ga0c8a61e484973272f34b00cfbef9ddfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="a00002.html" title="This type contains one value parsed from the CBOR stream. ">CborValue</a> iterator pointing to the first element of the container represented by <em>it</em> and saves it in <em>recursed</em>. <a href="a00019.html#ga0c8a61e484973272f34b00cfbef9ddfd">More...</a><br/></td></tr>
<tr class="separator:ga0c8a61e484973272f34b00cfbef9ddfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51e02f0b62bc864fe8cf290988936e15"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga51e02f0b62bc864fe8cf290988936e15">cbor_value_leave_container</a> (<a class="el" href="a00002.html">CborValue</a> *it, const <a class="el" href="a00002.html">CborValue</a> *recursed)</td></tr>
<tr class="memdesc:ga51e02f0b62bc864fe8cf290988936e15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates <em>it</em> to point to the next element after the container. <a href="a00019.html#ga51e02f0b62bc864fe8cf290988936e15">More...</a><br/></td></tr>
<tr class="separator:ga51e02f0b62bc864fe8cf290988936e15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8bf13b3880863cf5c8a0bddf52426e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gae8bf13b3880863cf5c8a0bddf52426e6">cbor_value_is_valid</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gae8bf13b3880863cf5c8a0bddf52426e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>it</em> contains a valid value. <a href="a00019.html#gae8bf13b3880863cf5c8a0bddf52426e6">More...</a><br/></td></tr>
<tr class="separator:gae8bf13b3880863cf5c8a0bddf52426e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49bb974313534553ccafb28e5eba46d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga38f51ceba8bc8a9b1cf7dd31e3f9c178">CborType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga49bb974313534553ccafb28e5eba46d5">cbor_value_get_type</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga49bb974313534553ccafb28e5eba46d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the CBOR value that the iterator <em>value</em> points to. <a href="a00019.html#ga49bb974313534553ccafb28e5eba46d5">More...</a><br/></td></tr>
<tr class="separator:ga49bb974313534553ccafb28e5eba46d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11f38fada70d371257f7b51f311e8826"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga11f38fada70d371257f7b51f311e8826">cbor_value_is_null</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga11f38fada70d371257f7b51f311e8826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR null type. <a href="a00019.html#ga11f38fada70d371257f7b51f311e8826">More...</a><br/></td></tr>
<tr class="separator:ga11f38fada70d371257f7b51f311e8826"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1079ce3272f905c3d4a20821507be6f6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga1079ce3272f905c3d4a20821507be6f6">cbor_value_is_undefined</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga1079ce3272f905c3d4a20821507be6f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR undefined type. <a href="a00019.html#ga1079ce3272f905c3d4a20821507be6f6">More...</a><br/></td></tr>
<tr class="separator:ga1079ce3272f905c3d4a20821507be6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f85ec6748006a36c237a79d6f223b29"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga0f85ec6748006a36c237a79d6f223b29">cbor_value_is_boolean</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga0f85ec6748006a36c237a79d6f223b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR boolean type (true or false). <a href="a00019.html#ga0f85ec6748006a36c237a79d6f223b29">More...</a><br/></td></tr>
<tr class="separator:ga0f85ec6748006a36c237a79d6f223b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade7bfd61f35e448b1119d9bcfce234c0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gade7bfd61f35e448b1119d9bcfce234c0">cbor_value_get_boolean</a> (const <a class="el" href="a00002.html">CborValue</a> *value, bool *result)</td></tr>
<tr class="memdesc:gade7bfd61f35e448b1119d9bcfce234c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the boolean value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gade7bfd61f35e448b1119d9bcfce234c0">More...</a><br/></td></tr>
<tr class="separator:gade7bfd61f35e448b1119d9bcfce234c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae1a1b893975549d5fa74452ba4b79e8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaae1a1b893975549d5fa74452ba4b79e8">cbor_value_is_simple_type</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gaae1a1b893975549d5fa74452ba4b79e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR Simple Type type (other than true, false, null and undefined). <a href="a00019.html#gaae1a1b893975549d5fa74452ba4b79e8">More...</a><br/></td></tr>
<tr class="separator:gaae1a1b893975549d5fa74452ba4b79e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga033d3d2c9570501cf9dce099fe98e863"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga033d3d2c9570501cf9dce099fe98e863">cbor_value_get_simple_type</a> (const <a class="el" href="a00002.html">CborValue</a> *value, uint8_t *result)</td></tr>
<tr class="memdesc:ga033d3d2c9570501cf9dce099fe98e863"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR Simple Type value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#ga033d3d2c9570501cf9dce099fe98e863">More...</a><br/></td></tr>
<tr class="separator:ga033d3d2c9570501cf9dce099fe98e863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ea2ca067d876ca95251005f4ad696b0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga3ea2ca067d876ca95251005f4ad696b0">cbor_value_is_integer</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga3ea2ca067d876ca95251005f4ad696b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR integer type. <a href="a00019.html#ga3ea2ca067d876ca95251005f4ad696b0">More...</a><br/></td></tr>
<tr class="separator:ga3ea2ca067d876ca95251005f4ad696b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6aaf9010ea974034fe62b4670e44235"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gac6aaf9010ea974034fe62b4670e44235">cbor_value_is_unsigned_integer</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gac6aaf9010ea974034fe62b4670e44235"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR unsigned integer type (positive values or zero). <a href="a00019.html#gac6aaf9010ea974034fe62b4670e44235">More...</a><br/></td></tr>
<tr class="separator:gac6aaf9010ea974034fe62b4670e44235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaecdd62ea0656b7c4b367b19648ac79b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaaecdd62ea0656b7c4b367b19648ac79b">cbor_value_is_negative_integer</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gaaecdd62ea0656b7c4b367b19648ac79b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR negative integer type. <a href="a00019.html#gaaecdd62ea0656b7c4b367b19648ac79b">More...</a><br/></td></tr>
<tr class="separator:gaaecdd62ea0656b7c4b367b19648ac79b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30c4dc9fb923feac58d962b02aeecd41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga30c4dc9fb923feac58d962b02aeecd41">cbor_value_get_raw_integer</a> (const <a class="el" href="a00002.html">CborValue</a> *value, uint64_t *result)</td></tr>
<tr class="memdesc:ga30c4dc9fb923feac58d962b02aeecd41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#ga30c4dc9fb923feac58d962b02aeecd41">More...</a><br/></td></tr>
<tr class="separator:ga30c4dc9fb923feac58d962b02aeecd41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4c30532c395047b62ccc7c7eeb3a51b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gab4c30532c395047b62ccc7c7eeb3a51b">cbor_value_get_uint64</a> (const <a class="el" href="a00002.html">CborValue</a> *value, uint64_t *result)</td></tr>
<tr class="memdesc:gab4c30532c395047b62ccc7c7eeb3a51b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gab4c30532c395047b62ccc7c7eeb3a51b">More...</a><br/></td></tr>
<tr class="separator:gab4c30532c395047b62ccc7c7eeb3a51b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae16139e4a8857033b908dad98ddb2ac3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gae16139e4a8857033b908dad98ddb2ac3">cbor_value_get_int64</a> (const <a class="el" href="a00002.html">CborValue</a> *value, int64_t *result)</td></tr>
<tr class="memdesc:gae16139e4a8857033b908dad98ddb2ac3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gae16139e4a8857033b908dad98ddb2ac3">More...</a><br/></td></tr>
<tr class="separator:gae16139e4a8857033b908dad98ddb2ac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf95f402facf8436989b830f1dd4b06a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gabf95f402facf8436989b830f1dd4b06a">cbor_value_get_int</a> (const <a class="el" href="a00002.html">CborValue</a> *value, int *result)</td></tr>
<tr class="memdesc:gabf95f402facf8436989b830f1dd4b06a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gabf95f402facf8436989b830f1dd4b06a">More...</a><br/></td></tr>
<tr class="separator:gabf95f402facf8436989b830f1dd4b06a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bd9f8ab2b61aaeb31fd9b724622f0df"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga5bd9f8ab2b61aaeb31fd9b724622f0df">cbor_value_get_int64_checked</a> (const <a class="el" href="a00002.html">CborValue</a> *value, int64_t *result)</td></tr>
<tr class="memdesc:ga5bd9f8ab2b61aaeb31fd9b724622f0df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#ga5bd9f8ab2b61aaeb31fd9b724622f0df">More...</a><br/></td></tr>
<tr class="separator:ga5bd9f8ab2b61aaeb31fd9b724622f0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9b7aba18f57c255e744b874645ac9be"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaf9b7aba18f57c255e744b874645ac9be">cbor_value_get_int_checked</a> (const <a class="el" href="a00002.html">CborValue</a> *value, int *result)</td></tr>
<tr class="memdesc:gaf9b7aba18f57c255e744b874645ac9be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR integer value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gaf9b7aba18f57c255e744b874645ac9be">More...</a><br/></td></tr>
<tr class="separator:gaf9b7aba18f57c255e744b874645ac9be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0422ed961d973d190a19e12a3fe2390f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga0422ed961d973d190a19e12a3fe2390f">cbor_value_is_length_known</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga0422ed961d973d190a19e12a3fe2390f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the length of this type is known without calculation. <a href="a00019.html#ga0422ed961d973d190a19e12a3fe2390f">More...</a><br/></td></tr>
<tr class="separator:ga0422ed961d973d190a19e12a3fe2390f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga283d20b9bd9787647841dd245d486b1d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga283d20b9bd9787647841dd245d486b1d">cbor_value_is_tag</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga283d20b9bd9787647841dd245d486b1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR tag. <a href="a00019.html#ga283d20b9bd9787647841dd245d486b1d">More...</a><br/></td></tr>
<tr class="separator:ga283d20b9bd9787647841dd245d486b1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ee8cd4c95df1d788f5ef8fee6ac101a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga4ee8cd4c95df1d788f5ef8fee6ac101a">cbor_value_get_tag</a> (const <a class="el" href="a00002.html">CborValue</a> *value, <a class="el" href="a00017.html#ga46c29d9d57408740dc269d6125d37d26">CborTag</a> *result)</td></tr>
<tr class="memdesc:ga4ee8cd4c95df1d788f5ef8fee6ac101a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR tag value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#ga4ee8cd4c95df1d788f5ef8fee6ac101a">More...</a><br/></td></tr>
<tr class="separator:ga4ee8cd4c95df1d788f5ef8fee6ac101a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b805f0f440905a7ba4f93b3569bb97b"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga2b805f0f440905a7ba4f93b3569bb97b">cbor_value_skip_tag</a> (<a class="el" href="a00002.html">CborValue</a> *it)</td></tr>
<tr class="memdesc:ga2b805f0f440905a7ba4f93b3569bb97b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advances the CBOR value <em>it</em> until it no longer points to a tag. <a href="a00019.html#ga2b805f0f440905a7ba4f93b3569bb97b">More...</a><br/></td></tr>
<tr class="separator:ga2b805f0f440905a7ba4f93b3569bb97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad864d46aa7cfa3d57813da2b242380b4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gad864d46aa7cfa3d57813da2b242380b4">cbor_value_is_byte_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gad864d46aa7cfa3d57813da2b242380b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR text string. <a href="a00019.html#gad864d46aa7cfa3d57813da2b242380b4">More...</a><br/></td></tr>
<tr class="separator:gad864d46aa7cfa3d57813da2b242380b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed463f5bf4b69d7aec41e6aca9c637ad"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaed463f5bf4b69d7aec41e6aca9c637ad">cbor_value_is_text_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gaed463f5bf4b69d7aec41e6aca9c637ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR text string. <a href="a00019.html#gaed463f5bf4b69d7aec41e6aca9c637ad">More...</a><br/></td></tr>
<tr class="separator:gaed463f5bf4b69d7aec41e6aca9c637ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf39519cfc9a8fb64a787348af835569c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaf39519cfc9a8fb64a787348af835569c">cbor_value_get_string_length</a> (const <a class="el" href="a00002.html">CborValue</a> *value, size_t *length)</td></tr>
<tr class="memdesc:gaf39519cfc9a8fb64a787348af835569c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the length of the byte or text string that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gaf39519cfc9a8fb64a787348af835569c">More...</a><br/></td></tr>
<tr class="separator:gaf39519cfc9a8fb64a787348af835569c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5b2dd803244946b15603e09ce147044"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gad5b2dd803244946b15603e09ce147044">cbor_value_calculate_string_length</a> (const <a class="el" href="a00002.html">CborValue</a> *value, size_t *length)</td></tr>
<tr class="memdesc:gad5b2dd803244946b15603e09ce147044"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the length of the byte or text string that <em>value</em> points to and stores it in <em>len</em>. <a href="a00019.html#gad5b2dd803244946b15603e09ce147044">More...</a><br/></td></tr>
<tr class="separator:gad5b2dd803244946b15603e09ce147044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02ec0b5c8346f407cf5def566ddcf5ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga02ec0b5c8346f407cf5def566ddcf5ae">cbor_value_copy_text_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value, char *buffer, size_t *buflen, <a class="el" href="a00002.html">CborValue</a> *next)</td></tr>
<tr class="memdesc:ga02ec0b5c8346f407cf5def566ddcf5ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the string pointed by <em>value</em> into the buffer provided at <em>buffer</em> of <em>buflen</em> bytes. <a href="a00019.html#ga02ec0b5c8346f407cf5def566ddcf5ae">More...</a><br/></td></tr>
<tr class="separator:ga02ec0b5c8346f407cf5def566ddcf5ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5204b942fd5e6e1d8064262f3ce96b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gac5204b942fd5e6e1d8064262f3ce96b3">cbor_value_copy_byte_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value, uint8_t *buffer, size_t *buflen, <a class="el" href="a00002.html">CborValue</a> *next)</td></tr>
<tr class="memdesc:gac5204b942fd5e6e1d8064262f3ce96b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the string pointed by <em>value</em> into the buffer provided at <em>buffer</em> of <em>buflen</em> bytes. <a href="a00019.html#gac5204b942fd5e6e1d8064262f3ce96b3">More...</a><br/></td></tr>
<tr class="separator:gac5204b942fd5e6e1d8064262f3ce96b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4365a3a12a36871dd84006b9d19fd9ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a4365a3a12a36871dd84006b9d19fd9ed">cbor_value_dup_text_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value, char **buffer, size_t *buflen, <a class="el" href="a00002.html">CborValue</a> *next)</td></tr>
<tr class="memdesc:a4365a3a12a36871dd84006b9d19fd9ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates memory for the string pointed by <em>value</em> and copies it into this buffer. <a href="#a4365a3a12a36871dd84006b9d19fd9ed">More...</a><br/></td></tr>
<tr class="separator:a4365a3a12a36871dd84006b9d19fd9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf17ef706737dc8c30d7a424d6bfc4b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#adf17ef706737dc8c30d7a424d6bfc4b9">cbor_value_dup_byte_string</a> (const <a class="el" href="a00002.html">CborValue</a> *value, uint8_t **buffer, size_t *buflen, <a class="el" href="a00002.html">CborValue</a> *next)</td></tr>
<tr class="memdesc:adf17ef706737dc8c30d7a424d6bfc4b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates memory for the string pointed by <em>value</em> and copies it into this buffer. <a href="#adf17ef706737dc8c30d7a424d6bfc4b9">More...</a><br/></td></tr>
<tr class="separator:adf17ef706737dc8c30d7a424d6bfc4b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb1070d99c7094657271ef914b40a91b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gacb1070d99c7094657271ef914b40a91b">cbor_value_get_text_string_chunk</a> (const <a class="el" href="a00002.html">CborValue</a> *value, const char **bufferptr, size_t *len, <a class="el" href="a00002.html">CborValue</a> *next)</td></tr>
<tr class="memdesc:gacb1070d99c7094657271ef914b40a91b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts one text string chunk pointed to by <em>value</em> and stores a pointer to the data in <em>buffer</em> and the size in <em>len</em>, which must not be null. <a href="a00019.html#gacb1070d99c7094657271ef914b40a91b">More...</a><br/></td></tr>
<tr class="separator:gacb1070d99c7094657271ef914b40a91b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8f08df74d65c8454528824a667550ec"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gac8f08df74d65c8454528824a667550ec">cbor_value_text_string_equals</a> (const <a class="el" href="a00002.html">CborValue</a> *value, const char *string, bool *result)</td></tr>
<tr class="memdesc:gac8f08df74d65c8454528824a667550ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the entry <em>value</em> with the string <em>string</em> and store the result in <em>result</em>. <a href="a00019.html#gac8f08df74d65c8454528824a667550ec">More...</a><br/></td></tr>
<tr class="separator:gac8f08df74d65c8454528824a667550ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf427a0fdeb50f7a94d3c3620dd36161"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gadf427a0fdeb50f7a94d3c3620dd36161">cbor_value_is_array</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gadf427a0fdeb50f7a94d3c3620dd36161"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR array. <a href="a00019.html#gadf427a0fdeb50f7a94d3c3620dd36161">More...</a><br/></td></tr>
<tr class="separator:gadf427a0fdeb50f7a94d3c3620dd36161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b34d5f429a4c77f451391c4f7dff497"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga1b34d5f429a4c77f451391c4f7dff497">cbor_value_is_map</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga1b34d5f429a4c77f451391c4f7dff497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR map. <a href="a00019.html#ga1b34d5f429a4c77f451391c4f7dff497">More...</a><br/></td></tr>
<tr class="separator:ga1b34d5f429a4c77f451391c4f7dff497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3dec7120c8ce4326aea96c6eec6090c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gae3dec7120c8ce4326aea96c6eec6090c">cbor_value_get_array_length</a> (const <a class="el" href="a00002.html">CborValue</a> *value, size_t *length)</td></tr>
<tr class="memdesc:gae3dec7120c8ce4326aea96c6eec6090c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the length of the CBOR array that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gae3dec7120c8ce4326aea96c6eec6090c">More...</a><br/></td></tr>
<tr class="separator:gae3dec7120c8ce4326aea96c6eec6090c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad82740107f90881f83e7fb44ed74674b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gad82740107f90881f83e7fb44ed74674b">cbor_value_get_map_length</a> (const <a class="el" href="a00002.html">CborValue</a> *value, size_t *length)</td></tr>
<tr class="memdesc:gad82740107f90881f83e7fb44ed74674b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the length of the CBOR map that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gad82740107f90881f83e7fb44ed74674b">More...</a><br/></td></tr>
<tr class="separator:gad82740107f90881f83e7fb44ed74674b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf145f4513ce734265d0128429cc4d5bd"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gaf145f4513ce734265d0128429cc4d5bd">cbor_value_map_find_value</a> (const <a class="el" href="a00002.html">CborValue</a> *map, const char *string, <a class="el" href="a00002.html">CborValue</a> *element)</td></tr>
<tr class="memdesc:gaf145f4513ce734265d0128429cc4d5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempts to find the value in map <em>map</em> that corresponds to the text string entry <em>string</em>. <a href="a00019.html#gaf145f4513ce734265d0128429cc4d5bd">More...</a><br/></td></tr>
<tr class="separator:gaf145f4513ce734265d0128429cc4d5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab44b87547a7c5a028479354d2f66c46c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gab44b87547a7c5a028479354d2f66c46c">cbor_value_is_half_float</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gab44b87547a7c5a028479354d2f66c46c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR single-precision floating point (16-bit). <a href="a00019.html#gab44b87547a7c5a028479354d2f66c46c">More...</a><br/></td></tr>
<tr class="separator:gab44b87547a7c5a028479354d2f66c46c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga566e51dcf54db8eb43ec19e8d31b8c6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga566e51dcf54db8eb43ec19e8d31b8c6f">cbor_value_get_half_float</a> (const <a class="el" href="a00002.html">CborValue</a> *value, void *result)</td></tr>
<tr class="memdesc:ga566e51dcf54db8eb43ec19e8d31b8c6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR half-precision floating point (16-bit) value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#ga566e51dcf54db8eb43ec19e8d31b8c6f">More...</a><br/></td></tr>
<tr class="separator:ga566e51dcf54db8eb43ec19e8d31b8c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafda7173c376b4789887db1717ef3f1b8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gafda7173c376b4789887db1717ef3f1b8">cbor_value_is_float</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:gafda7173c376b4789887db1717ef3f1b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR single-precision floating point (32-bit). <a href="a00019.html#gafda7173c376b4789887db1717ef3f1b8">More...</a><br/></td></tr>
<tr class="separator:gafda7173c376b4789887db1717ef3f1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcb81c2eeff3cc6dab0f2da699bb564b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#gafcb81c2eeff3cc6dab0f2da699bb564b">cbor_value_get_float</a> (const <a class="el" href="a00002.html">CborValue</a> *value, float *result)</td></tr>
<tr class="memdesc:gafcb81c2eeff3cc6dab0f2da699bb564b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the CBOR single-precision floating point (32-bit) value that <em>value</em> points to and stores it in <em>result</em>. <a href="a00019.html#gafcb81c2eeff3cc6dab0f2da699bb564b">More...</a><br/></td></tr>
<tr class="separator:gafcb81c2eeff3cc6dab0f2da699bb564b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga911e93729874ae5a2b4560c5bfe83ec3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga911e93729874ae5a2b4560c5bfe83ec3">cbor_value_is_double</a> (const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:ga911e93729874ae5a2b4560c5bfe83ec3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the iterator <em>value</em> is valid and points to a CBOR double-precision floating point (64-bit). <a href="a00019.html#ga911e93729874ae5a2b4560c5bfe83ec3">More...</a><br/></td></tr>
<tr class="separator:ga911e93729874ae5a2b4560c5bfe83ec3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7636f480757b302845ee38227f15cef1"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00019.html#ga7636f480757b302845ee38227f15cef1">cbor_value_validate</a> (const <a class="el" href="a00002.html">CborValue</a> *it, int flags)</td></tr>
<tr class="memdesc:ga7636f480757b302845ee38227f15cef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a full validation controlled by the <em>flags</em> options of the CBOR stream pointed by <em>it</em> and returns the error it found. <a href="a00019.html#ga7636f480757b302845ee38227f15cef1">More...</a><br/></td></tr>
<tr class="separator:ga7636f480757b302845ee38227f15cef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab43d4414c47f00c74262e0687e23dcda"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00020.html#gab43d4414c47f00c74262e0687e23dcda">cbor_value_to_pretty_stream</a> (CborStreamFunction streamFunction, void *token, <a class="el" href="a00002.html">CborValue</a> *value, int flags)</td></tr>
<tr class="memdesc:gab43d4414c47f00c74262e0687e23dcda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the stream by calling the <em>streamFunction</em>. <a href="a00020.html#gab43d4414c47f00c74262e0687e23dcda">More...</a><br/></td></tr>
<tr class="separator:gab43d4414c47f00c74262e0687e23dcda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba89091b9618b1b6daa22284321cce7"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#adba89091b9618b1b6daa22284321cce7">cbor_value_to_pretty_advance_flags</a> (FILE *out, <a class="el" href="a00002.html">CborValue</a> *value, int flags)</td></tr>
<tr class="memdesc:adba89091b9618b1b6daa22284321cce7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. <a href="#adba89091b9618b1b6daa22284321cce7">More...</a><br/></td></tr>
<tr class="separator:adba89091b9618b1b6daa22284321cce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef4d5dc4b2bfaf458e82e350509f9c30"><td class="memItemLeft" align="right" valign="top">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#aef4d5dc4b2bfaf458e82e350509f9c30">cbor_value_to_pretty_advance</a> (FILE *out, <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:aef4d5dc4b2bfaf458e82e350509f9c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. <a href="#aef4d5dc4b2bfaf458e82e350509f9c30">More...</a><br/></td></tr>
<tr class="separator:aef4d5dc4b2bfaf458e82e350509f9c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0529f04ea9045bbd351ea03ee0a21b7b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a0529f04ea9045bbd351ea03ee0a21b7b">cbor_value_to_pretty</a> (FILE *out, const <a class="el" href="a00002.html">CborValue</a> *value)</td></tr>
<tr class="memdesc:a0529f04ea9045bbd351ea03ee0a21b7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. <a href="#a0529f04ea9045bbd351ea03ee0a21b7b">More...</a><br/></td></tr>
<tr class="separator:a0529f04ea9045bbd351ea03ee0a21b7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gadc05d7725df5c9a2995580e2be0e5b57"><td class="memItemLeft" align="right" valign="top">static const size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#gadc05d7725df5c9a2995580e2be0e5b57">CborIndefiniteLength</a> = ((size_t)-1)</td></tr>
<tr class="memdesc:gadc05d7725df5c9a2995580e2be0e5b57"><td class="mdescLeft">&#160;</td><td class="mdescRight">This variable is a constant used to indicate that the length of the map or array is not yet determined. <a href="a00017.html#gadc05d7725df5c9a2995580e2be0e5b57">More...</a><br/></td></tr>
<tr class="separator:gadc05d7725df5c9a2995580e2be0e5b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><blockquote class="doxtable">
<p></p>
<p></p>
</blockquote>
<p>The &lt;<a class="el" href="a00004.html" title="The &lt;cbor.h&gt; is the main header in TinyCBOR and defines the constants used by most functions as well ...">cbor.h</a>&gt; is the main header in TinyCBOR and defines the constants used by most functions as well as the structures for encoding (<a class="el" href="a00001.html" title="Structure used to encode to CBOR. ">CborEncoder</a>) and decoding (<a class="el" href="a00002.html" title="This type contains one value parsed from the CBOR stream. ">CborValue</a>). </p>
<dl class="section see"><dt>See Also</dt><dd>&lt;<a class="el" href="a00008.html" title="The &lt;cborjson.h&gt; file contains the routines that are used to convert a CBOR data stream into JSON...">cborjson.h</a>&gt; </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="adf17ef706737dc8c30d7a424d6bfc4b9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> cbor_value_dup_byte_string </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t **&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t *&#160;</td>
<td class="paramname"><em>buflen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>next</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates memory for the string pointed by <em>value</em> and copies it into this buffer. </p>
<p>The pointer to the buffer is stored in <em>buffer</em> and the number of bytes copied is stored in <em>len</em> (those variables must not be NULL).</p>
<p>If the iterator <em>value</em> does not point to a byte string, the behaviour is undefined, so checking with <a class="el" href="a00019.html#ga49bb974313534553ccafb28e5eba46d5">cbor_value_get_type</a> or <a class="el" href="a00019.html#gad864d46aa7cfa3d57813da2b242380b4">cbor_value_is_byte_string</a> is recommended.</p>
<p>If <code>malloc</code> returns a NULL pointer, this function will return error condition CborErrorOutOfMemory.</p>
<p>On success, <code></code>{*buffer} will contain a valid pointer that must be freed by calling <code></code>{free()}. This is the case even for zero-length strings.</p>
<p>The <em>next</em> pointer, if not null, will be updated to point to the next item after this string. If <em>value</em> points to the last item, then <em>next</em> will be invalid.</p>
<p>This function may not run in constant time (it will run in O(n) time on the number of chunks). It requires constant memory (O(1)) in addition to the malloc'ed block.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00019.html#gacb1070d99c7094657271ef914b40a91b" title="Extracts one text string chunk pointed to by value and stores a pointer to the data in buffer and the...">cbor_value_get_text_string_chunk()</a>, <a class="el" href="a00019.html#gac5204b942fd5e6e1d8064262f3ce96b3" title="Copies the string pointed by value into the buffer provided at buffer of buflen bytes. ">cbor_value_copy_byte_string()</a>, <a class="el" href="a00004.html#a4365a3a12a36871dd84006b9d19fd9ed" title="Allocates memory for the string pointed by value and copies it into this buffer. ">cbor_value_dup_text_string()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4365a3a12a36871dd84006b9d19fd9ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> cbor_value_dup_text_string </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t *&#160;</td>
<td class="paramname"><em>buflen</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>next</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocates memory for the string pointed by <em>value</em> and copies it into this buffer. </p>
<p>The pointer to the buffer is stored in <em>buffer</em> and the number of bytes copied is stored in <em>len</em> (those variables must not be NULL).</p>
<p>If the iterator <em>value</em> does not point to a text string, the behaviour is undefined, so checking with <a class="el" href="a00019.html#ga49bb974313534553ccafb28e5eba46d5">cbor_value_get_type</a> or <a class="el" href="a00019.html#gaed463f5bf4b69d7aec41e6aca9c637ad">cbor_value_is_text_string</a> is recommended.</p>
<p>If <code>malloc</code> returns a NULL pointer, this function will return error condition CborErrorOutOfMemory.</p>
<p>On success, <code></code>{*buffer} will contain a valid pointer that must be freed by calling <code></code>{free()}. This is the case even for zero-length strings.</p>
<p>The <em>next</em> pointer, if not null, will be updated to point to the next item after this string. If <em>value</em> points to the last item, then <em>next</em> will be invalid.</p>
<p>This function may not run in constant time (it will run in O(n) time on the number of chunks). It requires constant memory (O(1)) in addition to the malloc'ed block.</p>
<dl class="section note"><dt>Note</dt><dd>This function does not perform UTF-8 validation on the incoming text string.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00019.html#gacb1070d99c7094657271ef914b40a91b" title="Extracts one text string chunk pointed to by value and stores a pointer to the data in buffer and the...">cbor_value_get_text_string_chunk()</a>, <a class="el" href="a00019.html#ga02ec0b5c8346f407cf5def566ddcf5ae" title="Copies the string pointed by value into the buffer provided at buffer of buflen bytes. ">cbor_value_copy_text_string()</a>, <a class="el" href="a00004.html#adf17ef706737dc8c30d7a424d6bfc4b9" title="Allocates memory for the string pointed by value and copies it into this buffer. ">cbor_value_dup_byte_string()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0529f04ea9045bbd351ea03ee0a21b7b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> cbor_value_to_pretty </td>
<td>(</td>
<td class="paramtype">FILE *&#160;</td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. </p>
<p>If an error occurs, this function returns an error code similar to CborParsing.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00004.html#aef4d5dc4b2bfaf458e82e350509f9c30" title="Converts the current CBOR type pointed by value to its textual representation and writes it to the ou...">cbor_value_to_pretty_advance()</a>, <a class="el" href="a00021.html#ga558485bab0ebcb2646e7669d13861d79" title="Converts the current CBOR type pointed by value to JSON and writes that to the out stream...">cbor_value_to_json_advance()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aef4d5dc4b2bfaf458e82e350509f9c30"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> cbor_value_to_pretty_advance </td>
<td>(</td>
<td class="paramtype">FILE *&#160;</td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. </p>
<p>If an error occurs, this function returns an error code similar to CborParsing.</p>
<p>If no error ocurred, this function advances <em>value</em> to the next element. Often, concatenating the text representation of multiple elements can be done by appending a comma to the output stream.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00004.html#a0529f04ea9045bbd351ea03ee0a21b7b" title="Converts the current CBOR type pointed by value to its textual representation and writes it to the ou...">cbor_value_to_pretty()</a>, <a class="el" href="a00020.html#gab43d4414c47f00c74262e0687e23dcda" title="Converts the current CBOR type pointed by value to its textual representation and writes it to the st...">cbor_value_to_pretty_stream()</a>, <a class="el" href="a00021.html#ga558485bab0ebcb2646e7669d13861d79" title="Converts the current CBOR type pointed by value to JSON and writes that to the out stream...">cbor_value_to_json_advance()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="adba89091b9618b1b6daa22284321cce7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CBOR_API <a class="el" href="a00017.html#ga76e9c9acc63dd940da4ab7e91309f7b5">CborError</a> cbor_value_to_pretty_advance_flags </td>
<td>(</td>
<td class="paramtype">FILE *&#160;</td>
<td class="paramname"><em>out</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00002.html">CborValue</a> *&#160;</td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the current CBOR type pointed by <em>value</em> to its textual representation and writes it to the <em>out</em> stream. </p>
<p>If an error occurs, this function returns an error code similar to CborParsing.</p>
<p>The textual representation can be controlled by the <em>flags</em> parameter (see CborPrettyFlags for more information).</p>
<p>If no error ocurred, this function advances <em>value</em> to the next element. Often, concatenating the text representation of multiple elements can be done by appending a comma to the output stream.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00020.html#gab43d4414c47f00c74262e0687e23dcda" title="Converts the current CBOR type pointed by value to its textual representation and writes it to the st...">cbor_value_to_pretty_stream()</a>, <a class="el" href="a00004.html#a0529f04ea9045bbd351ea03ee0a21b7b" title="Converts the current CBOR type pointed by value to its textual representation and writes it to the ou...">cbor_value_to_pretty()</a>, <a class="el" href="a00021.html#ga558485bab0ebcb2646e7669d13861d79" title="Converts the current CBOR type pointed by value to JSON and writes that to the out stream...">cbor_value_to_json_advance()</a> </dd></dl>
<p>Referenced by <a class="el" href="a00004.html#a0529f04ea9045bbd351ea03ee0a21b7b">cbor_value_to_pretty()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>