4 <title>libogg - function - oggpack_writecopy
</title>
5 <link rel=stylesheet
href=
"style.css" type=
"text/css">
8 <body bgcolor=white text=black
link=
"#5555ff" alink=
"#5555ff" vlink=
"#5555ff">
9 <table border=
0 width=
100%
>
11 <td><p class=tiny
>libogg documentation
</p></td>
12 <td align=right
><p class=tiny
>libogg release
1.0 -
20020719</p></td>
16 <h1>oggpack_writecopy
</h1>
18 <p><i>declared in
"ogg/ogg.h";
</i></p>
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>
26 <table border=
0 color=black cellspacing=
0 cellpadding=
7>
30 void oggpack_writecopy(oggpack_buffer *b, void *source, long bits);
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>
43 <dd>The number of bits to be copied into the buffer.
</dd>
47 <h3>Return Values
</h3>
50 No values are returned.
</li>
56 <table border=
0 width=
100%
>
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/vorbis/index.html">Ogg Vorbis
</a><br><a href=
"mailto:team@xiph.org">team@xiph.org
</a></p></td>
61 <td><p class=tiny
>libogg documentation
</p></td>
62 <td align=right
><p class=tiny
>libogg release
1.0 -
20020719</p></td>