<refentry id="camel-CamelMimeFilterYenc">
<refmeta>
<refentrytitle role="top_of_page" id="camel-CamelMimeFilterYenc.top_of_page">CamelMimeFilterYenc</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>CamelMimeFilterYenc</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="camel-CamelMimeFilterYenc.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link>;
enum                <link linkend="CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</link>;
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-INIT:CAPS">CAMEL_MIME_YDECODE_STATE_INIT</link>
#define             <link linkend="CAMEL-MIME-YENCODE-STATE-INIT:CAPS">CAMEL_MIME_YENCODE_STATE_INIT</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-EOLN:CAPS">CAMEL_MIME_YDECODE_STATE_EOLN</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-ESCAPE:CAPS">CAMEL_MIME_YDECODE_STATE_ESCAPE</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-BEGIN:CAPS">CAMEL_MIME_YDECODE_STATE_BEGIN</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-PART:CAPS">CAMEL_MIME_YDECODE_STATE_PART</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-DECODE:CAPS">CAMEL_MIME_YDECODE_STATE_DECODE</link>
#define             <link linkend="CAMEL-MIME-YDECODE-STATE-END:CAPS">CAMEL_MIME_YDECODE_STATE_END</link>
#define             <link linkend="CAMEL-MIME-YENCODE-CRC-INIT:CAPS">CAMEL_MIME_YENCODE_CRC_INIT</link>
#define             <link linkend="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS">CAMEL_MIME_YENCODE_CRC_FINAL</link>        (crc)
<link linkend="CamelMimeFilter">CamelMimeFilter</link>*    <link linkend="camel-mime-filter-yenc-new">camel_mime_filter_yenc_new</link>          (<link linkend="CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</link> direction);
<link linkend="void">void</link>                <link linkend="camel-mime-filter-yenc-set-state">camel_mime_filter_yenc_set_state</link>    (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc,
                                                         <link linkend="int">int</link> state);
<link linkend="void">void</link>                <link linkend="camel-mime-filter-yenc-set-crc">camel_mime_filter_yenc_set_crc</link>      (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc,
                                                         <link linkend="guint32">guint32</link> crc);
<link linkend="guint32">guint32</link>             <link linkend="camel-mime-filter-yenc-get-pcrc">camel_mime_filter_yenc_get_pcrc</link>     (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc);
<link linkend="guint32">guint32</link>             <link linkend="camel-mime-filter-yenc-get-crc">camel_mime_filter_yenc_get_crc</link>      (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc);
<link linkend="size-t">size_t</link>              <link linkend="camel-ydecode-step">camel_ydecode_step</link>                  (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);
<link linkend="size-t">size_t</link>              <link linkend="camel-yencode-step">camel_yencode_step</link>                  (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);
<link linkend="size-t">size_t</link>              <link linkend="camel-yencode-close">camel_yencode_close</link>                 (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-CamelMimeFilterYenc.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="camel-CamelMimeFilterYenc.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelMimeFilterYenc" role="struct">
<title>CamelMimeFilterYenc</title>
<indexterm zone="CamelMimeFilterYenc"><primary>CamelMimeFilterYenc</primary></indexterm><programlisting>typedef struct {
	CamelMimeFilter parent_object;
	
	CamelMimeFilterYencDirection direction;
	
	int part;
	
	int state;
	guint32 pcrc;
	guint32 crc;
} CamelMimeFilterYenc;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CamelMimeFilterYencDirection" role="enum">
<title>enum CamelMimeFilterYencDirection</title>
<indexterm zone="CamelMimeFilterYencDirection"><primary>CamelMimeFilterYencDirection</primary></indexterm><programlisting>typedef enum {
	CAMEL_MIME_FILTER_YENC_DIRECTION_ENCODE,
	CAMEL_MIME_FILTER_YENC_DIRECTION_DECODE
} CamelMimeFilterYencDirection;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-INIT:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_INIT</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-INIT:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_INIT</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_INIT     (0)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YENCODE-STATE-INIT:CAPS" role="macro">
<title>CAMEL_MIME_YENCODE_STATE_INIT</title>
<indexterm zone="CAMEL-MIME-YENCODE-STATE-INIT:CAPS"><primary>CAMEL_MIME_YENCODE_STATE_INIT</primary></indexterm><programlisting>#define CAMEL_MIME_YENCODE_STATE_INIT     (0)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-EOLN:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_EOLN</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-EOLN:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_EOLN</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_EOLN     (1 &lt;&lt; 8)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-ESCAPE:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_ESCAPE</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-ESCAPE:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_ESCAPE</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_ESCAPE   (1 &lt;&lt; 9)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-BEGIN:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_BEGIN</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-BEGIN:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_BEGIN</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_BEGIN    (1 &lt;&lt; 12)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-PART:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_PART</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-PART:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_PART</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_PART     (1 &lt;&lt; 13)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-DECODE:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_DECODE</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-DECODE:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_DECODE</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_DECODE   (1 &lt;&lt; 14)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YDECODE-STATE-END:CAPS" role="macro">
<title>CAMEL_MIME_YDECODE_STATE_END</title>
<indexterm zone="CAMEL-MIME-YDECODE-STATE-END:CAPS"><primary>CAMEL_MIME_YDECODE_STATE_END</primary></indexterm><programlisting>#define CAMEL_MIME_YDECODE_STATE_END      (1 &lt;&lt; 15)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YENCODE-CRC-INIT:CAPS" role="macro">
<title>CAMEL_MIME_YENCODE_CRC_INIT</title>
<indexterm zone="CAMEL-MIME-YENCODE-CRC-INIT:CAPS"><primary>CAMEL_MIME_YENCODE_CRC_INIT</primary></indexterm><programlisting>#define CAMEL_MIME_YENCODE_CRC_INIT       (~0)
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS" role="macro">
<title>CAMEL_MIME_YENCODE_CRC_FINAL()</title>
<indexterm zone="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"><primary>CAMEL_MIME_YENCODE_CRC_FINAL</primary></indexterm><programlisting>#define CAMEL_MIME_YENCODE_CRC_FINAL(crc) (~crc)
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>crc</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-yenc-new" role="function">
<title>camel_mime_filter_yenc_new ()</title>
<indexterm zone="camel-mime-filter-yenc-new"><primary>camel_mime_filter_yenc_new</primary></indexterm><programlisting><link linkend="CamelMimeFilter">CamelMimeFilter</link>*    camel_mime_filter_yenc_new          (<link linkend="CamelMimeFilterYencDirection">CamelMimeFilterYencDirection</link> direction);</programlisting>
<para>
Create a new <link linkend="CamelMimeFilterYenc"><type>CamelMimeFilterYenc</type></link> filter object.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>direction</parameter>&nbsp;:</term>
<listitem><simpara> encode direction
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>a new <link linkend="CamelMimeFilterYenc"><type>CamelMimeFilterYenc</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-yenc-set-state" role="function">
<title>camel_mime_filter_yenc_set_state ()</title>
<indexterm zone="camel-mime-filter-yenc-set-state"><primary>camel_mime_filter_yenc_set_state</primary></indexterm><programlisting><link linkend="void">void</link>                camel_mime_filter_yenc_set_state    (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc,
                                                         <link linkend="int">int</link> state);</programlisting>
<para>
Sets the current state of the yencoder/ydecoder</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>yenc</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFilterYenc"><type>CamelMimeFilterYenc</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>state</parameter>&nbsp;:</term>
<listitem><simpara> encode/decode state
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-yenc-set-crc" role="function">
<title>camel_mime_filter_yenc_set_crc ()</title>
<indexterm zone="camel-mime-filter-yenc-set-crc"><primary>camel_mime_filter_yenc_set_crc</primary></indexterm><programlisting><link linkend="void">void</link>                camel_mime_filter_yenc_set_crc      (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc,
                                                         <link linkend="guint32">guint32</link> crc);</programlisting>
<para>
Sets the current crc32 value on the yEnc filter <parameter>yenc</parameter> to <parameter>crc</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>yenc</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFilterYenc"><type>CamelMimeFilterYenc</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>crc</parameter>&nbsp;:</term>
<listitem><simpara> crc32 value
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-yenc-get-pcrc" role="function">
<title>camel_mime_filter_yenc_get_pcrc ()</title>
<indexterm zone="camel-mime-filter-yenc-get-pcrc"><primary>camel_mime_filter_yenc_get_pcrc</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             camel_mime_filter_yenc_get_pcrc     (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc);</programlisting>
<para>
Get the computed part crc or (<link linkend="guint32"><type>guint32</type></link>) <link linkend="1:CAPS"><literal>-1</literal></link> on fail.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>yenc</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFilterYenc"><type>CamelMimeFilterYenc</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the computed part crc or (<link linkend="guint32"><type>guint32</type></link>) <link linkend="1:CAPS"><literal>-1</literal></link> on fail.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-yenc-get-crc" role="function">
<title>camel_mime_filter_yenc_get_crc ()</title>
<indexterm zone="camel-mime-filter-yenc-get-crc"><primary>camel_mime_filter_yenc_get_crc</primary></indexterm><programlisting><link linkend="guint32">guint32</link>             camel_mime_filter_yenc_get_crc      (<link linkend="CamelMimeFilterYenc">CamelMimeFilterYenc</link> *yenc);</programlisting>
<para>
Get the computed crc or (<link linkend="guint32"><type>guint32</type></link>) -1 on fail.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>yenc</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFiletrYenc"><type>CamelMimeFiletrYenc</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the computed crc or (<link linkend="guint32"><type>guint32</type></link>) -1 on fail.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-ydecode-step" role="function">
<title>camel_ydecode_step ()</title>
<indexterm zone="camel-ydecode-step"><primary>camel_ydecode_step</primary></indexterm><programlisting><link linkend="size-t">size_t</link>              camel_ydecode_step                  (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);</programlisting>
<para>
Performs a 'decode step' on a chunk of yEncoded data of length
<parameter>inlen</parameter> pointed to by <parameter>in</parameter> and writes to <parameter>out</parameter>. Assumes the =ybegin
and =ypart lines have already been stripped off.
</para>
<para>
To get the crc32 value of the part, use <link linkend="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"><type>CAMEL_MIME_YENCODE_CRC_FINAL</type></link>
(<parameter>pcrc</parameter>). If there are more parts, you should reuse <parameter>crc</parameter> without
re-initializing. Once all parts have been decoded, you may get the
combined crc32 value of all the parts using <link linkend="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"><type>CAMEL_MIME_YENCODE_CRC_FINAL</type></link>
(<parameter>crc</parameter>).</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>in</parameter>&nbsp;:</term>
<listitem><simpara> input buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>inlen</parameter>&nbsp;:</term>
<listitem><simpara> input buffer length
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>out</parameter>&nbsp;:</term>
<listitem><simpara> output buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>state</parameter>&nbsp;:</term>
<listitem><simpara> ydecode state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pcrc</parameter>&nbsp;:</term>
<listitem><simpara> part crc state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>crc</parameter>&nbsp;:</term>
<listitem><simpara> crc state
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the number of bytes decoded
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-yencode-step" role="function">
<title>camel_yencode_step ()</title>
<indexterm zone="camel-yencode-step"><primary>camel_yencode_step</primary></indexterm><programlisting><link linkend="size-t">size_t</link>              camel_yencode_step                  (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);</programlisting>
<para>
Performs an yEncode 'encode step' on a chunk of raw data of length
<parameter>inlen</parameter> pointed to by <parameter>in</parameter> and writes to <parameter>out</parameter>.
</para>
<para>
<parameter>state</parameter> should be initialized to <link linkend="CAMEL-MIME-YENCODE-STATE-INIT:CAPS"><type>CAMEL_MIME_YENCODE_STATE_INIT</type></link> before
beginning making the first call to this function. Subsequent calls
should reuse <parameter>state</parameter>.
</para>
<para>
Along the same lines, <parameter>pcrc</parameter> and <parameter>crc</parameter> should be initialized to
<link linkend="CAMEL-MIME-YENCODE-CRC-INIT:CAPS"><type>CAMEL_MIME_YENCODE_CRC_INIT</type></link> before using.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>in</parameter>&nbsp;:</term>
<listitem><simpara> input buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>inlen</parameter>&nbsp;:</term>
<listitem><simpara> input buffer length
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>out</parameter>&nbsp;:</term>
<listitem><simpara> output buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>state</parameter>&nbsp;:</term>
<listitem><simpara> yencode state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pcrc</parameter>&nbsp;:</term>
<listitem><simpara> part crc state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>crc</parameter>&nbsp;:</term>
<listitem><simpara> crc state
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the number of bytes encoded
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-yencode-close" role="function">
<title>camel_yencode_close ()</title>
<indexterm zone="camel-yencode-close"><primary>camel_yencode_close</primary></indexterm><programlisting><link linkend="size-t">size_t</link>              camel_yencode_close                 (unsigned <link linkend="char">char</link> *in,
                                                         <link linkend="size-t">size_t</link> inlen,
                                                         unsigned <link linkend="char">char</link> *out,
                                                         <link linkend="int">int</link> *state,
                                                         <link linkend="guint32">guint32</link> *pcrc,
                                                         <link linkend="guint32">guint32</link> *crc);</programlisting>
<para>
Call this function when finished encoding data with
<link linkend="camel-yencode-step"><type>camel_yencode_step</type></link> to flush off the remaining state.
</para>
<para>
<link linkend="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"><type>CAMEL_MIME_YENCODE_CRC_FINAL</type></link> (<parameter>pcrc</parameter>) will give you the crc32 of the
encoded "part". If there are more "parts" to encode, you should
re-use <parameter>crc</parameter> when encoding the next "parts" and then use
<link linkend="CAMEL-MIME-YENCODE-CRC-FINAL:CAPS"><type>CAMEL_MIME_YENCODE_CRC_FINAL</type></link> (<parameter>crc</parameter>) to get the combined crc32 value of
all the parts.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>in</parameter>&nbsp;:</term>
<listitem><simpara> input buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>inlen</parameter>&nbsp;:</term>
<listitem><simpara> input buffer length
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>out</parameter>&nbsp;:</term>
<listitem><simpara> output buffer
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>state</parameter>&nbsp;:</term>
<listitem><simpara> yencode state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pcrc</parameter>&nbsp;:</term>
<listitem><simpara> part crc state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>crc</parameter>&nbsp;:</term>
<listitem><simpara> crc state
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the number of bytes encoded.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
