steal_body_buffer


Description:

[ CCode ( cname = "gst_rtsp_message_steal_body_buffer" ) ]
[ Version ( since = "1.16" ) ]
public Result steal_body_buffer (out Buffer buffer)

Take the body of this and store it in buffer.

After this method, the body and size of this will be set to null and 0 respectively.

If body data was set from raw memory instead of a Buffer this function will always return null. The caller can check if there is a body buffer by calling has_body_buffer.

Parameters:

this

a Message

buffer

location for the buffer

Returns:

OK.