ByteWriter.with_data


Description:

[ CCode ( cname = "gst_byte_writer_new_with_data" , has_construct_function = false ) ]
public ByteWriter.with_data (uint8[] data, bool initialized)

Creates a new ByteWriter instance with the given memory area.

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

Free-function: gst_byte_writer_free

Parameters:

data

Memory area for writing

initialized

If true the complete data can be read from the beginning

size

Size of data in bytes

Returns:

a new ByteWriter instance