Valadoc | Vala | Tutorial | API-References | Markup

rtcp_buffer_new_copy_data


Description:

public weak Buffer rtcp_buffer_new_copy_data (void* data, uint len)

Create a new buffer and set the data to a copy of len bytes of data and the size to len. The data will be freed when the buffer is freed.

Parameters:

len the length of data
data data for the new buffer

Returns:

A newly allocated buffer with a copy of data and of size len.

Namespace: Gst
Package: gstreamer-rtp-0.10