libogg documentation

libogg release 1.0 - 20020719

oggpack_writecopy

declared in "ogg/ogg.h";

This function copies a sequence of bits from a source buffer into an oggpack_buffer.

The oggpack_buffer must already be initialized for writing using oggpack_writeinit.

Only 32 bits can be written at a time.




void  oggpack_writecopy(oggpack_buffer *b, void *source, long bits);

Parameters

b
Buffer to be used for writing.
source
A pointer to the data to be written into the buffer.
bits
The number of bits to be copied into the buffer.

Return Values

  • No values are returned.



  • copyright © 2002 Xiph.org Foundation

    Ogg Vorbis
    team@xiph.org

    libogg documentation

    libogg release 1.0 - 20020719