• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Binary Parsers</title>
5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../../index.html" title="Spirit 2.5.8">
8<link rel="up" href="../qi_parsers.html" title="Qi Parsers">
9<link rel="prev" href="auxiliary.html" title="Auxiliary Parsers">
10<link rel="next" href="auto.html" title="Auto Parsers">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="auxiliary.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../qi_parsers.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="auto.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h5 class="title">
27<a name="spirit.qi.quick_reference.qi_parsers.binary"></a><a class="link" href="binary.html" title="Binary Parsers">Binary
28          Parsers</a>
29</h5></div></div></div>
30<div class="informaltable"><table class="table">
31<colgroup>
32<col>
33<col>
34<col>
35</colgroup>
36<thead><tr>
37<th>
38                    <p>
39                      Expression
40                    </p>
41                  </th>
42<th>
43                    <p>
44                      Attribute
45                    </p>
46                  </th>
47<th>
48                    <p>
49                      Description
50                    </p>
51                  </th>
52</tr></thead>
53<tbody>
54<tr>
55<td>
56                    <p>
57                      <a class="link" href="../../reference/binary/binary_native.html" title="Binary Native Endianness Parsers"><code class="computeroutput"><span class="identifier">byte_</span></code></a>
58                    </p>
59                  </td>
60<td>
61                    <p>
62                      8 bits native endian
63                    </p>
64                  </td>
65<td>
66                    <p>
67                      Matches an 8 bit binary in native endian representation
68                    </p>
69                  </td>
70</tr>
71<tr>
72<td>
73                    <p>
74                      <a class="link" href="../../reference/binary/binary_native.html" title="Binary Native Endianness Parsers"><code class="computeroutput"><span class="identifier">word</span></code></a>
75                    </p>
76                  </td>
77<td>
78                    <p>
79                      16 bits native endian
80                    </p>
81                  </td>
82<td>
83                    <p>
84                      Matches a 16 bit binary in native endian representation
85                    </p>
86                  </td>
87</tr>
88<tr>
89<td>
90                    <p>
91                      <a class="link" href="../../reference/binary/binary_big.html" title="Binary Big Endianness Parsers"><code class="computeroutput"><span class="identifier">big_word</span></code></a>
92                    </p>
93                  </td>
94<td>
95                    <p>
96                      16 bits big endian
97                    </p>
98                  </td>
99<td>
100                    <p>
101                      Matches a 16 bit binary in big endian representation
102                    </p>
103                  </td>
104</tr>
105<tr>
106<td>
107                    <p>
108                      <a class="link" href="../../reference/binary/binary_little.html" title="Binary Little Endianness Parser"><code class="computeroutput"><span class="identifier">little_word</span></code></a>
109                    </p>
110                  </td>
111<td>
112                    <p>
113                      16 bits little endian
114                    </p>
115                  </td>
116<td>
117                    <p>
118                      Matches a 16 bit binary in little endian representation
119                    </p>
120                  </td>
121</tr>
122<tr>
123<td>
124                    <p>
125                      <a class="link" href="../../reference/binary/binary_native.html" title="Binary Native Endianness Parsers"><code class="computeroutput"><span class="identifier">dword</span></code></a>
126                    </p>
127                  </td>
128<td>
129                    <p>
130                      32 bits native endian
131                    </p>
132                  </td>
133<td>
134                    <p>
135                      Matches a 32 bit binary in native endian representation
136                    </p>
137                  </td>
138</tr>
139<tr>
140<td>
141                    <p>
142                      <a class="link" href="../../reference/binary/binary_big.html" title="Binary Big Endianness Parsers"><code class="computeroutput"><span class="identifier">big_dword</span></code></a>
143                    </p>
144                  </td>
145<td>
146                    <p>
147                      32 bits big endian
148                    </p>
149                  </td>
150<td>
151                    <p>
152                      Matches a 32 bit binary in big endian representation
153                    </p>
154                  </td>
155</tr>
156<tr>
157<td>
158                    <p>
159                      <a class="link" href="../../reference/binary/binary_little.html" title="Binary Little Endianness Parser"><code class="computeroutput"><span class="identifier">little_dword</span></code></a>
160                    </p>
161                  </td>
162<td>
163                    <p>
164                      32 bits little endian
165                    </p>
166                  </td>
167<td>
168                    <p>
169                      Matches a 32 bit binary in little endian representation
170                    </p>
171                  </td>
172</tr>
173<tr>
174<td>
175                    <p>
176                      <a class="link" href="../../reference/binary/binary_native.html" title="Binary Native Endianness Parsers"><code class="computeroutput"><span class="identifier">qword</span></code></a>
177                    </p>
178                  </td>
179<td>
180                    <p>
181                      64 bits native endian
182                    </p>
183                  </td>
184<td>
185                    <p>
186                      Matches a 64 bit binary in native endian representation
187                    </p>
188                  </td>
189</tr>
190<tr>
191<td>
192                    <p>
193                      <a class="link" href="../../reference/binary/binary_big.html" title="Binary Big Endianness Parsers"><code class="computeroutput"><span class="identifier">big_qword</span></code></a>
194                    </p>
195                  </td>
196<td>
197                    <p>
198                      64 bits big endian
199                    </p>
200                  </td>
201<td>
202                    <p>
203                      Matches a 64 bit binary in big endian representation
204                    </p>
205                  </td>
206</tr>
207<tr>
208<td>
209                    <p>
210                      <a class="link" href="../../reference/binary/binary_little.html" title="Binary Little Endianness Parser"><code class="computeroutput"><span class="identifier">little_qword</span></code></a>
211                    </p>
212                  </td>
213<td>
214                    <p>
215                      64 bits little endian
216                    </p>
217                  </td>
218<td>
219                    <p>
220                      Matches a 64 bit binary in little endian representation
221                    </p>
222                  </td>
223</tr>
224</tbody>
225</table></div>
226</div>
227<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
228<td align="left"></td>
229<td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
230        Distributed under the Boost Software License, Version 1.0. (See accompanying
231        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
232      </p>
233</div></td>
234</tr></table>
235<hr>
236<div class="spirit-nav">
237<a accesskey="p" href="auxiliary.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../qi_parsers.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="auto.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
238</div>
239</body>
240</html>
241