00001 <html> 00002 00003 <head> 00004 <title>libogg - function - oggpack_look</title> 00005 <link rel=stylesheet href="style.css" type="text/css"> 00006 </head> 00007 00008 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 00009 <table border=0 width=100%> 00010 <tr> 00011 <td><p class=tiny>libogg documentation</p></td> 00012 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>oggpack_look</h1> 00017 00018 <p><i>declared in "ogg/ogg.h";</i></p> 00019 00020 <p>This function looks at a specified number of bits inside the buffer without advancing the location pointer. 00021 <p>The specified number of bits are read, starting from the location pointer. 00022 <p>This function can be used to read 32 or fewer bits. 00023 00024 <br><br> 00025 <table border=0 color=black cellspacing=0 cellpadding=7> 00026 <tr bgcolor=#cccccc> 00027 <td> 00028 <pre><b> 00029 long oggpack_look(<a href="oggpack_buffer.html">oggpack_buffer</a> *b,int bits); 00030 </b></pre> 00031 </td> 00032 </tr> 00033 </table> 00034 00035 <h3>Parameters</h3> 00036 <dl> 00037 <dt><i>b</i></dt> 00038 <dd>Pointer to <a href="oggpack_buffer.html">oggpack_buffer</a> to be read.</dd> 00039 <dt><i>bits</i></dt> 00040 <dd>Number of bits to look at. For this function, must be 32 or fewer.</dd> 00041 </dl> 00042 00043 00044 <h3>Return Values</h3> 00045 <blockquote> 00046 <li> 00047 <i>n</i> represents the requested bits.</li> 00048 </blockquote> 00049 <p> 00050 00051 <br><br> 00052 <hr noshade> 00053 <table border=0 width=100%> 00054 <tr valign=top> 00055 <td><p class=tiny>copyright © 2000 xiph.org</p></td> 00056 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@xiph.org">team@xiph.org</a></p></td> 00057 </tr><tr> 00058 <td><p class=tiny>libogg documentation</p></td> 00059 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td> 00060 </tr> 00061 </table> 00062 00063 00064 </body> 00065 00066 </html>