xref: /netbsd-src/external/mit/libcbor/dist/docs/doxygen/serialization_8h.html (revision 5dd36a3bc8bf2a9dec29ceb6349550414570c447)
1*5dd36a3bSchristos<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2*5dd36a3bSchristos<html xmlns="http://www.w3.org/1999/xhtml">
3*5dd36a3bSchristos<head>
4*5dd36a3bSchristos<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5*5dd36a3bSchristos<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6*5dd36a3bSchristos<meta name="generator" content="Doxygen 1.8.12"/>
7*5dd36a3bSchristos<meta name="viewport" content="width=device-width, initial-scale=1"/>
8*5dd36a3bSchristos<title>libcbor: src/cbor/serialization.h File Reference</title>
9*5dd36a3bSchristos<link href="tabs.css" rel="stylesheet" type="text/css"/>
10*5dd36a3bSchristos<script type="text/javascript" src="jquery.js"></script>
11*5dd36a3bSchristos<script type="text/javascript" src="dynsections.js"></script>
12*5dd36a3bSchristos<link href="search/search.css" rel="stylesheet" type="text/css"/>
13*5dd36a3bSchristos<script type="text/javascript" src="search/searchdata.js"></script>
14*5dd36a3bSchristos<script type="text/javascript" src="search/search.js"></script>
15*5dd36a3bSchristos<link href="doxygen.css" rel="stylesheet" type="text/css" />
16*5dd36a3bSchristos<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
17*5dd36a3bSchristos</head>
18*5dd36a3bSchristos<body>
19*5dd36a3bSchristos<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20*5dd36a3bSchristos<div id="titlearea">
21*5dd36a3bSchristos<table cellspacing="0" cellpadding="0">
22*5dd36a3bSchristos <tbody>
23*5dd36a3bSchristos <tr style="height: 56px;">
24*5dd36a3bSchristos  <td id="projectalign" style="padding-left: 0.5em;">
25*5dd36a3bSchristos   <div id="projectname">libcbor
26*5dd36a3bSchristos   &#160;<span id="projectnumber">0.5.0</span>
27*5dd36a3bSchristos   </div>
28*5dd36a3bSchristos   <div id="projectbrief">libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.</div>
29*5dd36a3bSchristos  </td>
30*5dd36a3bSchristos </tr>
31*5dd36a3bSchristos </tbody>
32*5dd36a3bSchristos</table>
33*5dd36a3bSchristos</div>
34*5dd36a3bSchristos<!-- end header part -->
35*5dd36a3bSchristos<!-- Generated by Doxygen 1.8.12 -->
36*5dd36a3bSchristos<script type="text/javascript">
37*5dd36a3bSchristosvar searchBox = new SearchBox("searchBox", "search",false,'Search');
38*5dd36a3bSchristos</script>
39*5dd36a3bSchristos<script type="text/javascript" src="menudata.js"></script>
40*5dd36a3bSchristos<script type="text/javascript" src="menu.js"></script>
41*5dd36a3bSchristos<script type="text/javascript">
42*5dd36a3bSchristos$(function() {
43*5dd36a3bSchristos  initMenu('',true,false,'search.php','Search');
44*5dd36a3bSchristos  $(document).ready(function() { init_search(); });
45*5dd36a3bSchristos});
46*5dd36a3bSchristos</script>
47*5dd36a3bSchristos<div id="main-nav"></div>
48*5dd36a3bSchristos<!-- window showing the filter options -->
49*5dd36a3bSchristos<div id="MSearchSelectWindow"
50*5dd36a3bSchristos     onmouseover="return searchBox.OnSearchSelectShow()"
51*5dd36a3bSchristos     onmouseout="return searchBox.OnSearchSelectHide()"
52*5dd36a3bSchristos     onkeydown="return searchBox.OnSearchSelectKey(event)">
53*5dd36a3bSchristos</div>
54*5dd36a3bSchristos
55*5dd36a3bSchristos<!-- iframe showing the search results (closed by default) -->
56*5dd36a3bSchristos<div id="MSearchResultsWindow">
57*5dd36a3bSchristos<iframe src="javascript:void(0)" frameborder="0"
58*5dd36a3bSchristos        name="MSearchResults" id="MSearchResults">
59*5dd36a3bSchristos</iframe>
60*5dd36a3bSchristos</div>
61*5dd36a3bSchristos
62*5dd36a3bSchristos<div id="nav-path" class="navpath">
63*5dd36a3bSchristos  <ul>
64*5dd36a3bSchristos<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cb565ba51d82ea933604984cbab6233d.html">cbor</a></li>  </ul>
65*5dd36a3bSchristos</div>
66*5dd36a3bSchristos</div><!-- top -->
67*5dd36a3bSchristos<div class="header">
68*5dd36a3bSchristos  <div class="summary">
69*5dd36a3bSchristos<a href="#func-members">Functions</a>  </div>
70*5dd36a3bSchristos  <div class="headertitle">
71*5dd36a3bSchristos<div class="title">serialization.h File Reference</div>  </div>
72*5dd36a3bSchristos</div><!--header-->
73*5dd36a3bSchristos<div class="contents">
74*5dd36a3bSchristos<div class="textblock"><code>#include &quot;<a class="el" href="common_8h_source.html">cbor/common.h</a>&quot;</code><br />
75*5dd36a3bSchristos</div>
76*5dd36a3bSchristos<p><a href="serialization_8h_source.html">Go to the source code of this file.</a></p>
77*5dd36a3bSchristos<table class="memberdecls">
78*5dd36a3bSchristos<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
79*5dd36a3bSchristosFunctions</h2></td></tr>
80*5dd36a3bSchristos<tr class="memitem:a2b99415a2c6f0d226116c707772e2fc0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#a2b99415a2c6f0d226116c707772e2fc0">cbor_serialize</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *item, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a> buffer, size_t buffer_size)</td></tr>
81*5dd36a3bSchristos<tr class="memdesc:a2b99415a2c6f0d226116c707772e2fc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize the given item.  <a href="#a2b99415a2c6f0d226116c707772e2fc0">More...</a><br /></td></tr>
82*5dd36a3bSchristos<tr class="separator:a2b99415a2c6f0d226116c707772e2fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
83*5dd36a3bSchristos<tr class="memitem:ab8a96a82216c07469a583eef3a3dd8d0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#ab8a96a82216c07469a583eef3a3dd8d0">cbor_serialize_alloc</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *item, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a> *buffer, size_t *buffer_size)</td></tr>
84*5dd36a3bSchristos<tr class="memdesc:ab8a96a82216c07469a583eef3a3dd8d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize the given item, allocating buffers as needed.  <a href="#ab8a96a82216c07469a583eef3a3dd8d0">More...</a><br /></td></tr>
85*5dd36a3bSchristos<tr class="separator:ab8a96a82216c07469a583eef3a3dd8d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
86*5dd36a3bSchristos<tr class="memitem:a649fbb28229d58193a7eee96995929e0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#a649fbb28229d58193a7eee96995929e0">cbor_serialize_uint</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
87*5dd36a3bSchristos<tr class="memdesc:a649fbb28229d58193a7eee96995929e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize an uint.  <a href="#a649fbb28229d58193a7eee96995929e0">More...</a><br /></td></tr>
88*5dd36a3bSchristos<tr class="separator:a649fbb28229d58193a7eee96995929e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
89*5dd36a3bSchristos<tr class="memitem:ad7eb1501bd8282c21675333759dc7291"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#ad7eb1501bd8282c21675333759dc7291">cbor_serialize_negint</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
90*5dd36a3bSchristos<tr class="memdesc:ad7eb1501bd8282c21675333759dc7291"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a negint.  <a href="#ad7eb1501bd8282c21675333759dc7291">More...</a><br /></td></tr>
91*5dd36a3bSchristos<tr class="separator:ad7eb1501bd8282c21675333759dc7291"><td class="memSeparator" colspan="2">&#160;</td></tr>
92*5dd36a3bSchristos<tr class="memitem:aeff4847e92b05b329edd1135c60f4179"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#aeff4847e92b05b329edd1135c60f4179">cbor_serialize_bytestring</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
93*5dd36a3bSchristos<tr class="memdesc:aeff4847e92b05b329edd1135c60f4179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a bytestring.  <a href="#aeff4847e92b05b329edd1135c60f4179">More...</a><br /></td></tr>
94*5dd36a3bSchristos<tr class="separator:aeff4847e92b05b329edd1135c60f4179"><td class="memSeparator" colspan="2">&#160;</td></tr>
95*5dd36a3bSchristos<tr class="memitem:a9fb1138391d20c1b81081e2a5f413c3d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#a9fb1138391d20c1b81081e2a5f413c3d">cbor_serialize_string</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
96*5dd36a3bSchristos<tr class="memdesc:a9fb1138391d20c1b81081e2a5f413c3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a string.  <a href="#a9fb1138391d20c1b81081e2a5f413c3d">More...</a><br /></td></tr>
97*5dd36a3bSchristos<tr class="separator:a9fb1138391d20c1b81081e2a5f413c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
98*5dd36a3bSchristos<tr class="memitem:a53e7d680cf41ccda369802deaf6c1ba8"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#a53e7d680cf41ccda369802deaf6c1ba8">cbor_serialize_array</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
99*5dd36a3bSchristos<tr class="memdesc:a53e7d680cf41ccda369802deaf6c1ba8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize an array.  <a href="#a53e7d680cf41ccda369802deaf6c1ba8">More...</a><br /></td></tr>
100*5dd36a3bSchristos<tr class="separator:a53e7d680cf41ccda369802deaf6c1ba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
101*5dd36a3bSchristos<tr class="memitem:a1c07f653f5aa66fadc82f24f556a162d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#a1c07f653f5aa66fadc82f24f556a162d">cbor_serialize_map</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
102*5dd36a3bSchristos<tr class="memdesc:a1c07f653f5aa66fadc82f24f556a162d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a map.  <a href="#a1c07f653f5aa66fadc82f24f556a162d">More...</a><br /></td></tr>
103*5dd36a3bSchristos<tr class="separator:a1c07f653f5aa66fadc82f24f556a162d"><td class="memSeparator" colspan="2">&#160;</td></tr>
104*5dd36a3bSchristos<tr class="memitem:ae67b7ceefe645e660df73bf7ea255668"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#ae67b7ceefe645e660df73bf7ea255668">cbor_serialize_tag</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
105*5dd36a3bSchristos<tr class="memdesc:ae67b7ceefe645e660df73bf7ea255668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a tag.  <a href="#ae67b7ceefe645e660df73bf7ea255668">More...</a><br /></td></tr>
106*5dd36a3bSchristos<tr class="separator:ae67b7ceefe645e660df73bf7ea255668"><td class="memSeparator" colspan="2">&#160;</td></tr>
107*5dd36a3bSchristos<tr class="memitem:ad232a99d06a972ca114a2fe753b90953"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="serialization_8h.html#ad232a99d06a972ca114a2fe753b90953">cbor_serialize_float_ctrl</a> (const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *, <a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>, size_t)</td></tr>
108*5dd36a3bSchristos<tr class="memdesc:ad232a99d06a972ca114a2fe753b90953"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a.  <a href="#ad232a99d06a972ca114a2fe753b90953">More...</a><br /></td></tr>
109*5dd36a3bSchristos<tr class="separator:ad232a99d06a972ca114a2fe753b90953"><td class="memSeparator" colspan="2">&#160;</td></tr>
110*5dd36a3bSchristos</table>
111*5dd36a3bSchristos<h2 class="groupheader">Function Documentation</h2>
112*5dd36a3bSchristos<a id="a2b99415a2c6f0d226116c707772e2fc0"></a>
113*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#a2b99415a2c6f0d226116c707772e2fc0">&sect;&nbsp;</a></span>cbor_serialize()</h2>
114*5dd36a3bSchristos
115*5dd36a3bSchristos<div class="memitem">
116*5dd36a3bSchristos<div class="memproto">
117*5dd36a3bSchristos      <table class="memname">
118*5dd36a3bSchristos        <tr>
119*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize </td>
120*5dd36a3bSchristos          <td>(</td>
121*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
122*5dd36a3bSchristos          <td class="paramname"><em>item</em>, </td>
123*5dd36a3bSchristos        </tr>
124*5dd36a3bSchristos        <tr>
125*5dd36a3bSchristos          <td class="paramkey"></td>
126*5dd36a3bSchristos          <td></td>
127*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
128*5dd36a3bSchristos          <td class="paramname"><em>buffer</em>, </td>
129*5dd36a3bSchristos        </tr>
130*5dd36a3bSchristos        <tr>
131*5dd36a3bSchristos          <td class="paramkey"></td>
132*5dd36a3bSchristos          <td></td>
133*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
134*5dd36a3bSchristos          <td class="paramname"><em>buffer_size</em>&#160;</td>
135*5dd36a3bSchristos        </tr>
136*5dd36a3bSchristos        <tr>
137*5dd36a3bSchristos          <td></td>
138*5dd36a3bSchristos          <td>)</td>
139*5dd36a3bSchristos          <td></td><td></td>
140*5dd36a3bSchristos        </tr>
141*5dd36a3bSchristos      </table>
142*5dd36a3bSchristos</div><div class="memdoc">
143*5dd36a3bSchristos
144*5dd36a3bSchristos<p>Serialize the given item. </p>
145*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
146*5dd36a3bSchristos  <table class="params">
147*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A data item </td></tr>
148*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
149*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
150*5dd36a3bSchristos  </table>
151*5dd36a3bSchristos  </dd>
152*5dd36a3bSchristos</dl>
153*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
154*5dd36a3bSchristos
155*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00020">20</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
156*5dd36a3bSchristos
157*5dd36a3bSchristos</div>
158*5dd36a3bSchristos</div>
159*5dd36a3bSchristos<a id="ab8a96a82216c07469a583eef3a3dd8d0"></a>
160*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#ab8a96a82216c07469a583eef3a3dd8d0">&sect;&nbsp;</a></span>cbor_serialize_alloc()</h2>
161*5dd36a3bSchristos
162*5dd36a3bSchristos<div class="memitem">
163*5dd36a3bSchristos<div class="memproto">
164*5dd36a3bSchristos      <table class="memname">
165*5dd36a3bSchristos        <tr>
166*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_alloc </td>
167*5dd36a3bSchristos          <td>(</td>
168*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
169*5dd36a3bSchristos          <td class="paramname"><em>item</em>, </td>
170*5dd36a3bSchristos        </tr>
171*5dd36a3bSchristos        <tr>
172*5dd36a3bSchristos          <td class="paramkey"></td>
173*5dd36a3bSchristos          <td></td>
174*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a> *&#160;</td>
175*5dd36a3bSchristos          <td class="paramname"><em>buffer</em>, </td>
176*5dd36a3bSchristos        </tr>
177*5dd36a3bSchristos        <tr>
178*5dd36a3bSchristos          <td class="paramkey"></td>
179*5dd36a3bSchristos          <td></td>
180*5dd36a3bSchristos          <td class="paramtype">size_t *&#160;</td>
181*5dd36a3bSchristos          <td class="paramname"><em>buffer_size</em>&#160;</td>
182*5dd36a3bSchristos        </tr>
183*5dd36a3bSchristos        <tr>
184*5dd36a3bSchristos          <td></td>
185*5dd36a3bSchristos          <td>)</td>
186*5dd36a3bSchristos          <td></td><td></td>
187*5dd36a3bSchristos        </tr>
188*5dd36a3bSchristos      </table>
189*5dd36a3bSchristos</div><div class="memdoc">
190*5dd36a3bSchristos
191*5dd36a3bSchristos<p>Serialize the given item, allocating buffers as needed. </p>
192*5dd36a3bSchristos<pre class="fragment">embed:rst:leading-asterisk
193*5dd36a3bSchristos* .. warning:: It is your responsibility to free the buffer using an appropriate ``free`` implementation.
194*5dd36a3bSchristos* </pre><dl class="params"><dt>Parameters</dt><dd>
195*5dd36a3bSchristos  <table class="params">
196*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A data item </td></tr>
197*5dd36a3bSchristos    <tr><td class="paramname">buffer[out]</td><td>Buffer containing the result </td></tr>
198*5dd36a3bSchristos    <tr><td class="paramname">buffer_size[out]</td><td>Size of the <code>buffer</code> </td></tr>
199*5dd36a3bSchristos  </table>
200*5dd36a3bSchristos  </dd>
201*5dd36a3bSchristos</dl>
202*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure, in which case <code>buffer</code> is <code>NULL</code>. </dd></dl>
203*5dd36a3bSchristos
204*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00044">44</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
205*5dd36a3bSchristos
206*5dd36a3bSchristos</div>
207*5dd36a3bSchristos</div>
208*5dd36a3bSchristos<a id="a53e7d680cf41ccda369802deaf6c1ba8"></a>
209*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#a53e7d680cf41ccda369802deaf6c1ba8">&sect;&nbsp;</a></span>cbor_serialize_array()</h2>
210*5dd36a3bSchristos
211*5dd36a3bSchristos<div class="memitem">
212*5dd36a3bSchristos<div class="memproto">
213*5dd36a3bSchristos      <table class="memname">
214*5dd36a3bSchristos        <tr>
215*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_array </td>
216*5dd36a3bSchristos          <td>(</td>
217*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
218*5dd36a3bSchristos          <td class="paramname">, </td>
219*5dd36a3bSchristos        </tr>
220*5dd36a3bSchristos        <tr>
221*5dd36a3bSchristos          <td class="paramkey"></td>
222*5dd36a3bSchristos          <td></td>
223*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
224*5dd36a3bSchristos          <td class="paramname">, </td>
225*5dd36a3bSchristos        </tr>
226*5dd36a3bSchristos        <tr>
227*5dd36a3bSchristos          <td class="paramkey"></td>
228*5dd36a3bSchristos          <td></td>
229*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
230*5dd36a3bSchristos          <td class="paramname">&#160;</td>
231*5dd36a3bSchristos        </tr>
232*5dd36a3bSchristos        <tr>
233*5dd36a3bSchristos          <td></td>
234*5dd36a3bSchristos          <td>)</td>
235*5dd36a3bSchristos          <td></td><td></td>
236*5dd36a3bSchristos        </tr>
237*5dd36a3bSchristos      </table>
238*5dd36a3bSchristos</div><div class="memdoc">
239*5dd36a3bSchristos
240*5dd36a3bSchristos<p>Serialize an array. </p>
241*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
242*5dd36a3bSchristos  <table class="params">
243*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>An array </td></tr>
244*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
245*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
246*5dd36a3bSchristos  </table>
247*5dd36a3bSchristos  </dd>
248*5dd36a3bSchristos</dl>
249*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
250*5dd36a3bSchristos
251*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00178">178</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
252*5dd36a3bSchristos
253*5dd36a3bSchristos</div>
254*5dd36a3bSchristos</div>
255*5dd36a3bSchristos<a id="aeff4847e92b05b329edd1135c60f4179"></a>
256*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#aeff4847e92b05b329edd1135c60f4179">&sect;&nbsp;</a></span>cbor_serialize_bytestring()</h2>
257*5dd36a3bSchristos
258*5dd36a3bSchristos<div class="memitem">
259*5dd36a3bSchristos<div class="memproto">
260*5dd36a3bSchristos      <table class="memname">
261*5dd36a3bSchristos        <tr>
262*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_bytestring </td>
263*5dd36a3bSchristos          <td>(</td>
264*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
265*5dd36a3bSchristos          <td class="paramname">, </td>
266*5dd36a3bSchristos        </tr>
267*5dd36a3bSchristos        <tr>
268*5dd36a3bSchristos          <td class="paramkey"></td>
269*5dd36a3bSchristos          <td></td>
270*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
271*5dd36a3bSchristos          <td class="paramname">, </td>
272*5dd36a3bSchristos        </tr>
273*5dd36a3bSchristos        <tr>
274*5dd36a3bSchristos          <td class="paramkey"></td>
275*5dd36a3bSchristos          <td></td>
276*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
277*5dd36a3bSchristos          <td class="paramname">&#160;</td>
278*5dd36a3bSchristos        </tr>
279*5dd36a3bSchristos        <tr>
280*5dd36a3bSchristos          <td></td>
281*5dd36a3bSchristos          <td>)</td>
282*5dd36a3bSchristos          <td></td><td></td>
283*5dd36a3bSchristos        </tr>
284*5dd36a3bSchristos      </table>
285*5dd36a3bSchristos</div><div class="memdoc">
286*5dd36a3bSchristos
287*5dd36a3bSchristos<p>Serialize a bytestring. </p>
288*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
289*5dd36a3bSchristos  <table class="params">
290*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A bytestring </td></tr>
291*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
292*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
293*5dd36a3bSchristos  </table>
294*5dd36a3bSchristos  </dd>
295*5dd36a3bSchristos</dl>
296*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
297*5dd36a3bSchristos
298*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00110">110</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
299*5dd36a3bSchristos
300*5dd36a3bSchristos</div>
301*5dd36a3bSchristos</div>
302*5dd36a3bSchristos<a id="ad232a99d06a972ca114a2fe753b90953"></a>
303*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#ad232a99d06a972ca114a2fe753b90953">&sect;&nbsp;</a></span>cbor_serialize_float_ctrl()</h2>
304*5dd36a3bSchristos
305*5dd36a3bSchristos<div class="memitem">
306*5dd36a3bSchristos<div class="memproto">
307*5dd36a3bSchristos      <table class="memname">
308*5dd36a3bSchristos        <tr>
309*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_float_ctrl </td>
310*5dd36a3bSchristos          <td>(</td>
311*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
312*5dd36a3bSchristos          <td class="paramname">, </td>
313*5dd36a3bSchristos        </tr>
314*5dd36a3bSchristos        <tr>
315*5dd36a3bSchristos          <td class="paramkey"></td>
316*5dd36a3bSchristos          <td></td>
317*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
318*5dd36a3bSchristos          <td class="paramname">, </td>
319*5dd36a3bSchristos        </tr>
320*5dd36a3bSchristos        <tr>
321*5dd36a3bSchristos          <td class="paramkey"></td>
322*5dd36a3bSchristos          <td></td>
323*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
324*5dd36a3bSchristos          <td class="paramname">&#160;</td>
325*5dd36a3bSchristos        </tr>
326*5dd36a3bSchristos        <tr>
327*5dd36a3bSchristos          <td></td>
328*5dd36a3bSchristos          <td>)</td>
329*5dd36a3bSchristos          <td></td><td></td>
330*5dd36a3bSchristos        </tr>
331*5dd36a3bSchristos      </table>
332*5dd36a3bSchristos</div><div class="memdoc">
333*5dd36a3bSchristos
334*5dd36a3bSchristos<p>Serialize a. </p>
335*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
336*5dd36a3bSchristos  <table class="params">
337*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A float or ctrl </td></tr>
338*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
339*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
340*5dd36a3bSchristos  </table>
341*5dd36a3bSchristos  </dd>
342*5dd36a3bSchristos</dl>
343*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
344*5dd36a3bSchristos
345*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00270">270</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
346*5dd36a3bSchristos
347*5dd36a3bSchristos</div>
348*5dd36a3bSchristos</div>
349*5dd36a3bSchristos<a id="a1c07f653f5aa66fadc82f24f556a162d"></a>
350*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#a1c07f653f5aa66fadc82f24f556a162d">&sect;&nbsp;</a></span>cbor_serialize_map()</h2>
351*5dd36a3bSchristos
352*5dd36a3bSchristos<div class="memitem">
353*5dd36a3bSchristos<div class="memproto">
354*5dd36a3bSchristos      <table class="memname">
355*5dd36a3bSchristos        <tr>
356*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_map </td>
357*5dd36a3bSchristos          <td>(</td>
358*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
359*5dd36a3bSchristos          <td class="paramname">, </td>
360*5dd36a3bSchristos        </tr>
361*5dd36a3bSchristos        <tr>
362*5dd36a3bSchristos          <td class="paramkey"></td>
363*5dd36a3bSchristos          <td></td>
364*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
365*5dd36a3bSchristos          <td class="paramname">, </td>
366*5dd36a3bSchristos        </tr>
367*5dd36a3bSchristos        <tr>
368*5dd36a3bSchristos          <td class="paramkey"></td>
369*5dd36a3bSchristos          <td></td>
370*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
371*5dd36a3bSchristos          <td class="paramname">&#160;</td>
372*5dd36a3bSchristos        </tr>
373*5dd36a3bSchristos        <tr>
374*5dd36a3bSchristos          <td></td>
375*5dd36a3bSchristos          <td>)</td>
376*5dd36a3bSchristos          <td></td><td></td>
377*5dd36a3bSchristos        </tr>
378*5dd36a3bSchristos      </table>
379*5dd36a3bSchristos</div><div class="memdoc">
380*5dd36a3bSchristos
381*5dd36a3bSchristos<p>Serialize a map. </p>
382*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
383*5dd36a3bSchristos  <table class="params">
384*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A map </td></tr>
385*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
386*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
387*5dd36a3bSchristos  </table>
388*5dd36a3bSchristos  </dd>
389*5dd36a3bSchristos</dl>
390*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
391*5dd36a3bSchristos
392*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00214">214</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
393*5dd36a3bSchristos
394*5dd36a3bSchristos</div>
395*5dd36a3bSchristos</div>
396*5dd36a3bSchristos<a id="ad7eb1501bd8282c21675333759dc7291"></a>
397*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#ad7eb1501bd8282c21675333759dc7291">&sect;&nbsp;</a></span>cbor_serialize_negint()</h2>
398*5dd36a3bSchristos
399*5dd36a3bSchristos<div class="memitem">
400*5dd36a3bSchristos<div class="memproto">
401*5dd36a3bSchristos      <table class="memname">
402*5dd36a3bSchristos        <tr>
403*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_negint </td>
404*5dd36a3bSchristos          <td>(</td>
405*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
406*5dd36a3bSchristos          <td class="paramname">, </td>
407*5dd36a3bSchristos        </tr>
408*5dd36a3bSchristos        <tr>
409*5dd36a3bSchristos          <td class="paramkey"></td>
410*5dd36a3bSchristos          <td></td>
411*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
412*5dd36a3bSchristos          <td class="paramname">, </td>
413*5dd36a3bSchristos        </tr>
414*5dd36a3bSchristos        <tr>
415*5dd36a3bSchristos          <td class="paramkey"></td>
416*5dd36a3bSchristos          <td></td>
417*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
418*5dd36a3bSchristos          <td class="paramname">&#160;</td>
419*5dd36a3bSchristos        </tr>
420*5dd36a3bSchristos        <tr>
421*5dd36a3bSchristos          <td></td>
422*5dd36a3bSchristos          <td>)</td>
423*5dd36a3bSchristos          <td></td><td></td>
424*5dd36a3bSchristos        </tr>
425*5dd36a3bSchristos      </table>
426*5dd36a3bSchristos</div><div class="memdoc">
427*5dd36a3bSchristos
428*5dd36a3bSchristos<p>Serialize a negint. </p>
429*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
430*5dd36a3bSchristos  <table class="params">
431*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A neging </td></tr>
432*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
433*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
434*5dd36a3bSchristos  </table>
435*5dd36a3bSchristos  </dd>
436*5dd36a3bSchristos</dl>
437*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
438*5dd36a3bSchristos
439*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00093">93</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
440*5dd36a3bSchristos
441*5dd36a3bSchristos</div>
442*5dd36a3bSchristos</div>
443*5dd36a3bSchristos<a id="a9fb1138391d20c1b81081e2a5f413c3d"></a>
444*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#a9fb1138391d20c1b81081e2a5f413c3d">&sect;&nbsp;</a></span>cbor_serialize_string()</h2>
445*5dd36a3bSchristos
446*5dd36a3bSchristos<div class="memitem">
447*5dd36a3bSchristos<div class="memproto">
448*5dd36a3bSchristos      <table class="memname">
449*5dd36a3bSchristos        <tr>
450*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_string </td>
451*5dd36a3bSchristos          <td>(</td>
452*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
453*5dd36a3bSchristos          <td class="paramname">, </td>
454*5dd36a3bSchristos        </tr>
455*5dd36a3bSchristos        <tr>
456*5dd36a3bSchristos          <td class="paramkey"></td>
457*5dd36a3bSchristos          <td></td>
458*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
459*5dd36a3bSchristos          <td class="paramname">, </td>
460*5dd36a3bSchristos        </tr>
461*5dd36a3bSchristos        <tr>
462*5dd36a3bSchristos          <td class="paramkey"></td>
463*5dd36a3bSchristos          <td></td>
464*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
465*5dd36a3bSchristos          <td class="paramname">&#160;</td>
466*5dd36a3bSchristos        </tr>
467*5dd36a3bSchristos        <tr>
468*5dd36a3bSchristos          <td></td>
469*5dd36a3bSchristos          <td>)</td>
470*5dd36a3bSchristos          <td></td><td></td>
471*5dd36a3bSchristos        </tr>
472*5dd36a3bSchristos      </table>
473*5dd36a3bSchristos</div><div class="memdoc">
474*5dd36a3bSchristos
475*5dd36a3bSchristos<p>Serialize a string. </p>
476*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
477*5dd36a3bSchristos  <table class="params">
478*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A string </td></tr>
479*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
480*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
481*5dd36a3bSchristos  </table>
482*5dd36a3bSchristos  </dd>
483*5dd36a3bSchristos</dl>
484*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
485*5dd36a3bSchristos
486*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00144">144</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
487*5dd36a3bSchristos
488*5dd36a3bSchristos</div>
489*5dd36a3bSchristos</div>
490*5dd36a3bSchristos<a id="ae67b7ceefe645e660df73bf7ea255668"></a>
491*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#ae67b7ceefe645e660df73bf7ea255668">&sect;&nbsp;</a></span>cbor_serialize_tag()</h2>
492*5dd36a3bSchristos
493*5dd36a3bSchristos<div class="memitem">
494*5dd36a3bSchristos<div class="memproto">
495*5dd36a3bSchristos      <table class="memname">
496*5dd36a3bSchristos        <tr>
497*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_tag </td>
498*5dd36a3bSchristos          <td>(</td>
499*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
500*5dd36a3bSchristos          <td class="paramname">, </td>
501*5dd36a3bSchristos        </tr>
502*5dd36a3bSchristos        <tr>
503*5dd36a3bSchristos          <td class="paramkey"></td>
504*5dd36a3bSchristos          <td></td>
505*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
506*5dd36a3bSchristos          <td class="paramname">, </td>
507*5dd36a3bSchristos        </tr>
508*5dd36a3bSchristos        <tr>
509*5dd36a3bSchristos          <td class="paramkey"></td>
510*5dd36a3bSchristos          <td></td>
511*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
512*5dd36a3bSchristos          <td class="paramname">&#160;</td>
513*5dd36a3bSchristos        </tr>
514*5dd36a3bSchristos        <tr>
515*5dd36a3bSchristos          <td></td>
516*5dd36a3bSchristos          <td>)</td>
517*5dd36a3bSchristos          <td></td><td></td>
518*5dd36a3bSchristos        </tr>
519*5dd36a3bSchristos      </table>
520*5dd36a3bSchristos</div><div class="memdoc">
521*5dd36a3bSchristos
522*5dd36a3bSchristos<p>Serialize a tag. </p>
523*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
524*5dd36a3bSchristos  <table class="params">
525*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A tag </td></tr>
526*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
527*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
528*5dd36a3bSchristos  </table>
529*5dd36a3bSchristos  </dd>
530*5dd36a3bSchristos</dl>
531*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
532*5dd36a3bSchristos
533*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00256">256</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
534*5dd36a3bSchristos
535*5dd36a3bSchristos</div>
536*5dd36a3bSchristos</div>
537*5dd36a3bSchristos<a id="a649fbb28229d58193a7eee96995929e0"></a>
538*5dd36a3bSchristos<h2 class="memtitle"><span class="permalink"><a href="#a649fbb28229d58193a7eee96995929e0">&sect;&nbsp;</a></span>cbor_serialize_uint()</h2>
539*5dd36a3bSchristos
540*5dd36a3bSchristos<div class="memitem">
541*5dd36a3bSchristos<div class="memproto">
542*5dd36a3bSchristos      <table class="memname">
543*5dd36a3bSchristos        <tr>
544*5dd36a3bSchristos          <td class="memname">size_t cbor_serialize_uint </td>
545*5dd36a3bSchristos          <td>(</td>
546*5dd36a3bSchristos          <td class="paramtype">const <a class="el" href="structcbor__item__t.html">cbor_item_t</a> *&#160;</td>
547*5dd36a3bSchristos          <td class="paramname">, </td>
548*5dd36a3bSchristos        </tr>
549*5dd36a3bSchristos        <tr>
550*5dd36a3bSchristos          <td class="paramkey"></td>
551*5dd36a3bSchristos          <td></td>
552*5dd36a3bSchristos          <td class="paramtype"><a class="el" href="data_8h.html#aabb40e458ece40477e134a69c76693e8">cbor_mutable_data</a>&#160;</td>
553*5dd36a3bSchristos          <td class="paramname">, </td>
554*5dd36a3bSchristos        </tr>
555*5dd36a3bSchristos        <tr>
556*5dd36a3bSchristos          <td class="paramkey"></td>
557*5dd36a3bSchristos          <td></td>
558*5dd36a3bSchristos          <td class="paramtype">size_t&#160;</td>
559*5dd36a3bSchristos          <td class="paramname">&#160;</td>
560*5dd36a3bSchristos        </tr>
561*5dd36a3bSchristos        <tr>
562*5dd36a3bSchristos          <td></td>
563*5dd36a3bSchristos          <td>)</td>
564*5dd36a3bSchristos          <td></td><td></td>
565*5dd36a3bSchristos        </tr>
566*5dd36a3bSchristos      </table>
567*5dd36a3bSchristos</div><div class="memdoc">
568*5dd36a3bSchristos
569*5dd36a3bSchristos<p>Serialize an uint. </p>
570*5dd36a3bSchristos<dl class="params"><dt>Parameters</dt><dd>
571*5dd36a3bSchristos  <table class="params">
572*5dd36a3bSchristos    <tr><td class="paramname">item[borrow]</td><td>A uint </td></tr>
573*5dd36a3bSchristos    <tr><td class="paramname">buffer</td><td>Buffer to serialize to </td></tr>
574*5dd36a3bSchristos    <tr><td class="paramname">buffer_size</td><td>Size of the <code>buffer</code> </td></tr>
575*5dd36a3bSchristos  </table>
576*5dd36a3bSchristos  </dd>
577*5dd36a3bSchristos</dl>
578*5dd36a3bSchristos<dl class="section return"><dt>Returns</dt><dd>Length of the result. 0 on failure. </dd></dl>
579*5dd36a3bSchristos
580*5dd36a3bSchristos<p>Definition at line <a class="el" href="serialization_8c_source.html#l00076">76</a> of file <a class="el" href="serialization_8c_source.html">serialization.c</a>.</p>
581*5dd36a3bSchristos
582*5dd36a3bSchristos</div>
583*5dd36a3bSchristos</div>
584*5dd36a3bSchristos</div><!-- contents -->
585*5dd36a3bSchristos<!-- start footer part -->
586*5dd36a3bSchristos<hr class="footer"/><address class="footer"><small>
587*5dd36a3bSchristosGenerated on Mon Feb 6 2017 00:26:19 for libcbor by &#160;<a href="http://www.doxygen.org/index.html">
588*5dd36a3bSchristos<img class="footer" src="doxygen.png" alt="doxygen"/>
589*5dd36a3bSchristos</a> 1.8.12
590*5dd36a3bSchristos</small></address>
591*5dd36a3bSchristos</body>
592*5dd36a3bSchristos</html>
593