Frees a GstBase.BitReader instance, which was previously allocated by
gst_bit_reader_new().
Read nbits bits into val and update the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val and update the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val and update the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val and update the current position.
number of bits to read
true if successful, false otherwise.
Returns the current position of a GstBase.BitReader instance in bits.
The current position of reader in bits.
Returns the remaining number of bits of a GstBase.BitReader instance.
The remaining number of bits of reader instance.
Returns the total number of bits of a GstBase.BitReader instance.
The total number of bits of reader instance.
Initializes a GstBase.BitReader instance to read from data. This function
can be called on already initialized instances.
data from which the bit reader should read
Read nbits bits into val but keep the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val but keep the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val but keep the current position.
number of bits to read
true if successful, false otherwise.
Read nbits bits into val but keep the current position.
number of bits to read
true if successful, false otherwise.
Sets the new position of a GstBase.BitReader instance to pos in bits.
The new position in bits
true if the position could be set successfully, false otherwise.
Skips nbits bits of the GstBase.BitReader instance.
the number of bits to skip
true if nbits bits could be skipped, false otherwise.
Skips until the next byte.
true if successful, false otherwise.
GstBase.BitReader provides a bit reader that can read any number of bits from a memory buffer. It provides functions for reading any number of bits into 8, 16, 32 and 64 bit variables.