init_with_data


Description:

[ CCode ( cname = "gst_byte_writer_init_with_data" ) ]
public void init_with_data (uint8[] data, bool initialized)

Initializes this with the given memory area.

If initialized is true it is possible to read data.length bytes from the ByteWriter from the beginning.

Parameters:

this

ByteWriter instance

data

Memory area for writing

initialized

If true the complete data can be read from the beginning

size

Size of data in bytes