oggpack_bytes.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>libogg - function - oggpack_bytes</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_bytes</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function returns the total number of bytes behind the current
  16. access point in the <a href="oggpack_buffer.html">oggpack_buffer</a>.
  17. For write-initialized buffers, this is the number of complete bytes
  18. written so far. For read-initialized buffers, it is the number of
  19. complete bytes that have been read so far.
  20. <p>The return value is the number of <b>complete</b> bytes in the buffer.
  21. There may be extra (<8) bits.
  22. <br><br>
  23. <table border=0 color=black cellspacing=0 cellpadding=7>
  24. <tr bgcolor=#cccccc>
  25. <td>
  26. <pre><b>
  27. long oggpack_bytes(<a href="oggpack_buffer.html">oggpack_buffer</a> *b);
  28. </b></pre>
  29. </td>
  30. </tr>
  31. </table>
  32. <h3>Parameters</h3>
  33. <dl>
  34. <dt><i>b</i></dt>
  35. <dd><a href="oggpack_buffer.html">oggpack_buffer</a> struct to be checked.</dd>
  36. </dl>
  37. <h3>Return Values</h3>
  38. <blockquote>
  39. <li>
  40. <i>n</i> is the total number of bytes within the current buffer.</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>