1 <html> 2 3 <head> 4 <title>libogg - function - oggpack_writetrunc</title> 5 <link rel=stylesheet href="style.css" type="text/css"> 6 </head> 7 8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 9 <table border=0 width=100%> 10 <tr> 11 <td><p class=tiny>libogg documentation</p></td> 12 <td align=right><p class=tiny>libogg release 1.2.0 - 20100325</p></td> 13 </tr> 14 </table> 15 16 <h1>oggpack_writetrunc</h1> 17 18 <p><i>declared in "ogg/ogg.h";</i></p> 19 20 <p>This function truncates an already written-to <a href="oggpack_buffer.html">oggpack_buffer</a>.</p> 21 <p>The oggpack_buffer must already be initialized for writing using <a href="oggpack_writeinit.html">oggpack_writeinit</a>.</p> 22 23 <br><br> 24 <table border=0 color=black cellspacing=0 cellpadding=7> 25 <tr bgcolor=#cccccc> 26 <td> 27 <pre><b> 28 void oggpack_writetrunc(oggpack_buffer *b, long bits); 29 </b></pre> 30 </td> 31 </tr> 32 </table> 33 34 <h3>Parameters</h3> 35 <dl> 36 <dt><i>b</i></dt> 37 <dd>Buffer to be truncated.</dd> 38 <dt><i>bits</i></dt> 39 <dd>Number of bits to keep in the buffer (size after truncation)</dd> 40 </dl> 41 42 43 <h3>Return Values</h3> 44 <blockquote> 45 <li> 46 No values are returned.</li> 47 </blockquote> 48 <p> 49 50 <br><br> 51 <hr noshade> 52 <table border=0 width=100%> 53 <tr valign=top> 54 <td><p class=tiny>copyright © 2000-2010 Xiph.Org Foundation</p></td> 55 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td> 56 </tr><tr> 57 <td><p class=tiny>libogg documentation</p></td> 58 <td align=right><p class=tiny>libogg release 1.2.0 - 20100325</p></td> 59 </tr> 60 </table> 61 62 63 </body> 64 65 </html> 66