oggpack_writecopy.html 1.7 KB

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