<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 

<refentry id="serialize_uint"> <!-- ID for references -->

<refentrytitle>serialize_uint</refentrytitle> <!-- title shown in references -->
<manvolnum>3</manvolnum></refmeta> <!-- man volume id (3 for libraries) -->

<refname>serialize_uint</refname> <!-- function name -->
<refpurpose>unsigned integer serialization</refpurpose> <!-- short function description -->

#include &lt;cds/serialize.h&gt; <!-- included headers -->

<funcprototype> <!-- function prototype -->
  <funcdef>int <function>serialize_uint</function></funcdef>
  <paramdef>sstream_t *<parameter>ss</parameter></paramdef>
  <paramdef>unsigned int *<parameter>num</parameter></paramdef>


<para>Serializes number. This means that in the case of input stream this
functions sets value of given unsigned integer parameter to value read from stream, 
in the case of output stream it
writes the number given in parameter into that stream.
<!-- detailed description -->


<refsect1><title>Return value</title>
<!-- return value description -->
Returns 0 on success, non-zero on error.

<refsect1><title>See Also</title>
<xref linkend="sstream_t"/>, 
<xref linkend="serialize_int"/>, 
<xref linkend="serialize_char"/>, 
<xref linkend="serialize_uchar"/>, 
<xref linkend="serialize_str"/>
<!-- references to other pages -->