Class BitWriter
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public sealed class BitWriter
- Inheritance
-
BitWriter
- Inherited Members
Constructors
BitWriter()
public BitWriter()
BitWriter(BitWriterOwnedHandle)
public BitWriter(BitWriterOwnedHandle handle)
Parameters
handle
BitWriterOwnedHandle
Properties
BitSize
public uint BitSize { get; set; }
Property Value
Data
public IntPtr Data { get; set; }
Property Value
Handle
public BitWriterOwnedHandle Handle { get; }
Property Value
Methods
AlignBytes(byte)
public bool AlignBytes(byte trailingBit)
Parameters
trailingBit
byte
Returns
Equals(BitWriter?)
public bool Equals(BitWriter? other)
Parameters
other
BitWriter
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetRemaining()
public uint GetRemaining()
Returns
GetSize()
public uint GetSize()
Returns
Init()
public void Init()
InitWithData(Span<byte>, bool)
public void InitWithData(Span<byte> data, bool initialized)
Parameters
InitWithSize(uint, bool)
public void InitWithSize(uint size, bool @fixed)
Parameters
New()
public static BitWriter New()
Returns
NewWithData(Span<byte>, bool)
public static BitWriter NewWithData(Span<byte> data, bool initialized)
Parameters
Returns
NewWithSize(uint, bool)
public static BitWriter NewWithSize(uint size, bool @fixed)
Parameters
Returns
PutBitsUint16(ushort, uint)
public bool PutBitsUint16(ushort value, uint nbits)
Parameters
Returns
PutBitsUint32(uint, uint)
public bool PutBitsUint32(uint value, uint nbits)
Parameters
Returns
PutBitsUint64(ulong, uint)
public bool PutBitsUint64(ulong value, uint nbits)
Parameters
Returns
PutBitsUint8(byte, uint)
public bool PutBitsUint8(byte value, uint nbits)
Parameters
Returns
Reset()
public void Reset()
ResetAndGetBuffer()
public Buffer ResetAndGetBuffer()
Returns
SetPos(uint)
public bool SetPos(uint pos)
Parameters
pos
uint