peek_data


Description:

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

Returns a constant pointer to the current data position if at least size bytes are left and keeps 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.