get_data


Description:

[ CCode ( cname = "gst_byte_reader_get_data" ) ]
public bool get_data (uint size, out unowned uint8[] val)

Returns a constant pointer to the current data position if at least size bytes are left and updates the current position.

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.