Struct BitSequenceReader
Provides a method for reading a bit sequence.
public ref struct BitSequenceReader
- Inherited Members
Remarks
This struct is typically returned by GetBitSequenceReader(int) to read the bit sequence associated with a Slice type.
Constructors
BitSequenceReader(ReadOnlySequence<byte>)
Constructs a bit sequence reader over a ReadOnlySequence<T>.
public BitSequenceReader(ReadOnlySequence<byte> bitSequence)
Parameters
bitSequence
ReadOnlySequence<byte>The read-only sequence.
Methods
Read()
Reads the next bit.
public bool Read()