oggpack_write.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <html>
  2. <head>
  3. <title>libogg - function - oggpack_write</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.4 - 20190830</p></td>
  11. </tr>
  12. </table>
  13. <h1>oggpack_write</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function writes bits into an <a href="oggpack_buffer.html">oggpack_buffer</a>.
  16. <p>The oggpack_buffer must already be initialized for writing using <a href="oggpack_writeinit.html">oggpack_writeinit</a>.
  17. <p>Only 32 bits can be written at a time.
  18. <br><br>
  19. <table border=0 color=black cellspacing=0 cellpadding=7>
  20. <tr bgcolor=#cccccc>
  21. <td>
  22. <pre><b>
  23. void oggpack_write(oggpack_buffer *b,unsigned long value,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>Buffer to be used for writing.</dd>
  32. <dt><i>value</i></dt>
  33. <dd>The data to be written into the buffer. This must be 32 bits or fewer.</dd>
  34. <dt><i>bits</i></dt>
  35. <dd>The number of bits being written into the buffer.</dd>
  36. </dl>
  37. <h3>Return Values</h3>
  38. <blockquote>
  39. <li>
  40. No values are returned.</li>
  41. </blockquote>
  42. <p>
  43. <br><br>
  44. <hr noshade>
  45. <table border=0 width=100%>
  46. <tr valign=top>
  47. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  48. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  49. </tr><tr>
  50. <td><p class=tiny>libogg documentation</p></td>
  51. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  52. </tr>
  53. </table>
  54. </body>
  55. </html>