1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::util::Crc16</title>
49  </head>
50  <body>
51<h1>nn::util::Crc16 Class</h1>
52<h2>Syntax</h2>
53    <div class="section">
54<pre class="definition">class Crc16</pre>
55    </div>
56<h2>Description</h2>
57    <div class="section">
58<p>This is the class for calculating CRC-16.</p><p>
59	  CRC-16 is an algorithm that finds an 16-bit hash value.
60	  CRC-16 is the algorithm used in various compression programs including ARC and LHA. One restriction is that the hash value does not change when a leading 0 byte is appended to the start of the data.
61        </p><!-- write here --></div>
62    <a name="function" id="function">
63<h2>Member Functions</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <td width="100">  </td>
68            <th>
69<a href="../../../nn/util/Crc16/Crc16.html">Crc16</a>
70            </th>
71<td>This is the default constructor.</td>
72          </tr>
73          <tr>
74            <td width="100">  </td>
75            <th>
76<a href="../../../nn/util/Crc16/InitializeContext.html">InitializeContext</a>
77            </th>
78<td>Initializes the context used for calculating CRC-16 hash values.</td>
79          </tr>
80          <tr>
81            <td width="100">  </td>
82            <th>
83<a href="../../../nn/util/Crc16/Update.html">Update</a>
84            </th>
85<td>Updates the CRC-16 hash value with the input data.</td>
86          </tr>
87          <tr>
88            <td width="100">  </td>
89            <th>
90<a href="../../../nn/util/Crc16/GetHash.html">GetHash</a>
91            </th>
92<td>Gets the final result of calculating the CRC-16 hash value.</td>
93          </tr>
94          <tr>
95            <td width="100">
96<span class="static_style" title="static">S</span> </td>
97            <th>
98<a href="../../../nn/util/Crc16/Calculate.html">Calculate</a>
99            </th>
100<td>Calls all the associated functions needed to calculate CRC-16, and gets the calculation result.</td>
101          </tr> </table>
102      </div>
103    </a>
104<h2>Revision History</h2>
105    <div class="section">
106      <dl class="history">
107        <dt>2010/10/15</dt>
108<dd>Initial version.<br />
109        </dd>
110      </dl>
111    </div>
112  <hr><p>CONFIDENTIAL</p></body>
113</html>
114