Class BitReader
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public sealed class BitReader
- Inheritance
-
BitReader
- Inherited Members
Constructors
BitReader()
public BitReader()
BitReader(BitReaderOwnedHandle)
public BitReader(BitReaderOwnedHandle handle)
Parameters
handle
BitReaderOwnedHandle
Properties
Bit
public uint Bit { get; set; }
Property Value
Byte
public uint Byte { get; set; }
Property Value
Handle
public BitReaderOwnedHandle Handle { get; }
Property Value
Size
public uint Size { get; set; }
Property Value
Methods
Equals(BitReader?)
public bool Equals(BitReader? other)
Parameters
other
BitReader
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetBitsUint16(out ushort, uint)
public bool GetBitsUint16(out ushort val, uint nbits)
Parameters
Returns
GetBitsUint32(out uint, uint)
public bool GetBitsUint32(out uint val, uint nbits)
Parameters
Returns
GetBitsUint64(out ulong, uint)
public bool GetBitsUint64(out ulong val, uint nbits)
Parameters
Returns
GetBitsUint8(out byte, uint)
public bool GetBitsUint8(out byte val, uint nbits)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetPos()
public uint GetPos()
Returns
GetRemaining()
public uint GetRemaining()
Returns
GetSize()
public uint GetSize()
Returns
Init(Span<byte>)
public void Init(Span<byte> data)
Parameters
New(Span<byte>)
public static BitReader New(Span<byte> data)
Parameters
Returns
PeekBitsUint16(out ushort, uint)
public bool PeekBitsUint16(out ushort val, uint nbits)
Parameters
Returns
PeekBitsUint32(out uint, uint)
public bool PeekBitsUint32(out uint val, uint nbits)
Parameters
Returns
PeekBitsUint64(out ulong, uint)
public bool PeekBitsUint64(out ulong val, uint nbits)
Parameters
Returns
PeekBitsUint8(out byte, uint)
public bool PeekBitsUint8(out byte val, uint nbits)
Parameters
Returns
SetPos(uint)
public bool SetPos(uint pos)
Parameters
pos
uint
Returns
Skip(uint)
public bool Skip(uint nbits)
Parameters
nbits
uint
Returns
SkipToByte()
public bool SkipToByte()