Sets our main struct and passes it to the parent class.
Creates a new, empty gst.BitWriter.BitWriter instance.
Creates a new gst.BitWriter.BitWriter instance with the given memory area. If initialized is TRUE it is possible to read size bits from the gst.BitWriter.BitWriter from the beginnig.
Creates a gst.BitWriter.BitWriter instance with the given initial data size.
A destructor is present on this object, but not explicitly documented in the source.
Write trailing bit to align last byte of data. trailing_bit can only be 1 or 0.
Frees bitwriter and the allocated data inside.
Frees bitwriter without destroying the internal data, which is returned as gstreamer.Buffer
Frees bitwriter without destroying the internal data, which is returned.
Get the main Gtk struct
Get written data pointer
Get size of written data
the main Gtk struct as a void*
Initializes bitwriter to an empty instance.
Initializes bitwriter with the given memory area data. IF initialized is TRUE it is possible to read size bits from the gst.BitWriter.BitWriter from the beginning.
Initializes a gst.BitWriter.BitWriter instance and allocates the given data size.
Write nbits bits of value to gst.BitWriter.BitWriter
Write nbits bits of value to gst.BitWriter.BitWriter
Write nbits bits of value to gst.BitWriter.BitWriter
Write nbits bits of value to gst.BitWriter.BitWriter
Write nbytes bytes of data to gst.BitWriter.BitWriter
Resets bitwriter and frees the data if it's owned by bitwriter.
Resets bitwriter and returns the current data as gstreamer.Buffer
Resets bitwriter and returns the current data.
the main Gtk struct
gst.BitWriter.BitWriter provides a bit writer that can write any number of bits into a memory buffer. It provides functions for writing any number of bits into 8, 16, 32 and 64 bit variables.