gstbase.bit_writer
Module for [BitWriter] class
class BitWriter
Types 1
classBitWriter
#GstBitWriter 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.
Fields
GstBitWriter _cInstanceMethods
void * _cPtr() nothrowvoid bitSize(uint propval) @property nothrowSet `bitSize` field. Params: propval = Size of written @data in bitsbool alignBytes(ubyte trailingBit) nothrowWrite trailing bit to align last byte of data. trailing_bit can only be 1 or 0.gst.buffer.Buffer freeAndGetBuffer() nothrowFrees bitwriter without destroying the internal data, which is returned as #GstBuffer.uint getRemaining() nothrowgst.buffer.Buffer resetAndGetBuffer() nothrowResets bitwriter and returns the current data as #GstBuffer.bool setPos(uint pos) nothrow