1<html>
2
3<head>
4<title>libogg - function - oggpack_read1</title>
5<link rel=stylesheet href="style.css" type="text/css">
6</head>
7
8<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9<table border=0 width=100%>
10<tr>
11<td><p class=tiny>libogg documentation</p></td>
12<td align=right><p class=tiny>libogg release 1.2.0 - 20100325</p></td>
13</tr>
14</table>
15
16<h1>oggpack_read1</h1>
17
18<p><i>declared in "ogg/ogg.h";</i></p>
19
20<p>This function reads one bit from the <a href="oggpack_buffer.html">oggpack_buffer</a> data buffer and advances the location pointer.
21<p>Before reading, the buffer should be initialized using <a href="oggpack_readinit.html">oggpack_readinit</a>.
22
23<br><br>
24<table border=0 color=black cellspacing=0 cellpadding=7>
25<tr bgcolor=#cccccc>
26	<td>
27<pre><b>
28long  oggpack_read1(oggpack_buffer *b);
29</b></pre>
30	</td>
31</tr>
32</table>
33
34<h3>Parameters</h3>
35<dl>
36<dt><i>b</i></dt>
37<dd>Pointer to an <a href="oggpack_buffer.html">oggpack_buffer</a> struct containing buffered data to be read.</dd>
38</dl>
39
40
41<h3>Return Values</h3>
42<blockquote>
43<li>
44<i>n</i> is the bit read by this function.</li>
45</blockquote>
46<p>
47
48<br><br>
49<hr noshade>
50<table border=0 width=100%>
51<tr valign=top>
52<td><p class=tiny>copyright &copy; 2000-2010 Xiph.Org</p></td>
53<td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
54</tr><tr>
55<td><p class=tiny>libogg documentation</p></td>
56<td align=right><p class=tiny>libogg release 1.2.0 - 20100325</p></td>
57</tr>
58</table>
59
60
61</body>
62
63</html>
64