ByteWriter.this

Creates a new #GstByteWriter instance with the given memory area. If @initialized is %TRUE it is possible to read @size bytes from the #GstByteWriter from the beginning.

Free-function: gst_byte_writer_free

  1. this(GstByteWriter* gstByteWriter, bool ownedRef)
  2. this()
  3. this(ubyte[] data, bool initialized)
    class ByteWriter
    this
    (
    ubyte[] data
    ,)
  4. this(uint size, bool fixed)

Parameters

data ubyte[]

Memory area for writing

initialized bool

If %TRUE the complete data can be read from the beginning

Return Value

a new #GstByteWriter instance

Throws

ConstructionException GTK+ fails to create the object.

Meta