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