code: def _setbitpos(self, pos):
          
          if pos < 0:
              raise ValueError("Bit position cannot be negative.")
          if pos > self.len:
              raise ValueError("Cannot seek past the end of the data.")
          self._pos = pos
docs: Move to absolute postion bit in bitstream.