oggpack_writetrunc.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <title>libogg - function - oggpack_writetrunc</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_writetrunc</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function truncates an already written-to <a href="oggpack_buffer.html">oggpack_buffer</a>.</p>
  16. <p>The oggpack_buffer must already be initialized for writing using <a href="oggpack_writeinit.html">oggpack_writeinit</a>.</p>
  17. <br><br>
  18. <table border=0 color=black cellspacing=0 cellpadding=7>
  19. <tr bgcolor=#cccccc>
  20. <td>
  21. <pre><b>
  22. void oggpack_writetrunc(oggpack_buffer *b, long bits);
  23. </b></pre>
  24. </td>
  25. </tr>
  26. </table>
  27. <h3>Parameters</h3>
  28. <dl>
  29. <dt><i>b</i></dt>
  30. <dd>Buffer to be truncated.</dd>
  31. <dt><i>bits</i></dt>
  32. <dd>Number of bits to keep in the buffer (size after truncation)</dd>
  33. </dl>
  34. <h3>Return Values</h3>
  35. <blockquote>
  36. <li>
  37. No values are returned.</li>
  38. </blockquote>
  39. <p>
  40. <br><br>
  41. <hr noshade>
  42. <table border=0 width=100%>
  43. <tr valign=top>
  44. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  45. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  46. </tr><tr>
  47. <td><p class=tiny>libogg documentation</p></td>
  48. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  49. </tr>
  50. </table>
  51. </body>
  52. </html>