dup_data


Description:

[ CCode ( cname = "gst_byte_reader_dup_data" ) ]
public bool dup_data (uint size, out uint8[] val)

Free-function: g_free

Returns a newly-allocated copy of the current data position if at least size bytes are left and updates the current position. Free with g_free when no longer needed.

Parameters:

this

a ByteReader instance

size

Size in bytes

val

address of a uint8 pointer variable in which to store the result

Returns:

true if successful, false otherwise.