oggpack_look.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <title>libogg - function - oggpack_look</title>
  4. <link rel=stylesheet href="style.css" type="text/css">
  5. </head>
  6. <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
  7. <table border=0 width=100%>
  8. <tr>
  9. <td><p class=tiny>libogg documentation</p></td>
  10. <td align=right><p class=tiny>libogg release 1.3.2 - 20140527</p></td>
  11. </tr>
  12. </table>
  13. <h1>oggpack_look</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function looks at a specified number of bits inside the buffer without advancing the location pointer.
  16. <p>The specified number of bits are read, starting from the location pointer.
  17. <p>This function can be used to read 32 or fewer bits.
  18. <br><br>
  19. <table border=0 color=black cellspacing=0 cellpadding=7>
  20. <tr bgcolor=#cccccc>
  21. <td>
  22. <pre><b>
  23. long oggpack_look(<a href="oggpack_buffer.html">oggpack_buffer</a> *b,int bits);
  24. </b></pre>
  25. </td>
  26. </tr>
  27. </table>
  28. <h3>Parameters</h3>
  29. <dl>
  30. <dt><i>b</i></dt>
  31. <dd>Pointer to <a href="oggpack_buffer.html">oggpack_buffer</a> to be read.</dd>
  32. <dt><i>bits</i></dt>
  33. <dd>Number of bits to look at. For this function, must be 32 or fewer.</dd>
  34. </dl>
  35. <h3>Return Values</h3>
  36. <blockquote>
  37. <li>
  38. <i>n</i> represents the requested bits.</li>
  39. </blockquote>
  40. <p>
  41. <br><br>
  42. <hr noshade>
  43. <table border=0 width=100%>
  44. <tr valign=top>
  45. <td><p class=tiny>copyright &copy; 2000-2014 Xiph.Org</p></td>
  46. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  47. </tr><tr>
  48. <td><p class=tiny>libogg documentation</p></td>
  49. <td align=right><p class=tiny>libogg release 1.3.2 - 20140527</p></td>
  50. </tr>
  51. </table>
  52. </body>
  53. </html>