# The BitStream class

class `bitstring.``BitStream`([auto, length, offset, **kwargs])

  Both the `BitArray` and the `ConstBitStream` classes are base classes for `BitStream` and so all of their methods are also available for `BitStream` objects. The initialiser is also the same as for `Bits` and so won’t be repeated here.

  A `BitStream` is a mutable container of bits with methods and properties that allow it to be parsed as a stream of bits. There are no additional methods or properties in this class - see its base classes (`Bits`, `BitArray` and `ConstBitStream`) for details.