1 <html> 2 3 <head> 4 <title>libogg - function - oggpack_look</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_look</h1> 17 18 <p><i>declared in "ogg/ogg.h";</i></p> 19 20 <p>This function looks at a specified number of bits inside the buffer without advancing the location pointer. 21 <p>The specified number of bits are read, starting from the location pointer. 22 <p>This function can be used to read 32 or fewer bits. 23 24 <br><br> 25 <table border=0 color=black cellspacing=0 cellpadding=7> 26 <tr bgcolor=#cccccc> 27 <td> 28 <pre><b> 29 long oggpack_look(<a href="oggpack_buffer.html">oggpack_buffer</a> *b,int bits); 30 </b></pre> 31 </td> 32 </tr> 33 </table> 34 35 <h3>Parameters</h3> 36 <dl> 37 <dt><i>b</i></dt> 38 <dd>Pointer to <a href="oggpack_buffer.html">oggpack_buffer</a> to be read.</dd> 39 <dt><i>bits</i></dt> 40 <dd>Number of bits to look at. For this function, must be 32 or fewer.</dd> 41 </dl> 42 43 44 <h3>Return Values</h3> 45 <blockquote> 46 <li> 47 <i>n</i> represents the requested bits.</li> 48 </blockquote> 49 <p> 50 51 <br><br> 52 <hr noshade> 53 <table border=0 width=100%> 54 <tr valign=top> 55 <td><p class=tiny>copyright © 2000-2010 Xiph.Org</p></td> 56 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td> 57 </tr><tr> 58 <td><p class=tiny>libogg documentation</p></td> 59 <td align=right><p class=tiny>libogg release 1.2.0 - 20100325</p></td> 60 </tr> 61 </table> 62 63 64 </body> 65 66 </html> 67