original_string: public function asBitString(): Primitive\BitString
      {
          if (!$this->_element instanceof Primitive\BitString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_BIT_STRING));
          }
          return $this->_element;
      }
code: public function asBitString(): Primitive\BitString
      {
          if (!$this->_element instanceof Primitive\BitString) {
              throw new \UnexpectedValueException(
                  $this->_generateExceptionMessage(Element::TYPE_BIT_STRING));
          }
          return $this->_element;
      }
code_tokens: public function asBitString ( ) : Primitive \ BitString { if ( ! $ this -> _element instanceof Primitive \ BitString ) { throw new \ UnexpectedValueException ( $ this -> _generateExceptionMessage ( Element :: TYPE_BIT_STRING ) ) ; } return $ this -> _element ; }
docstring: Get the wrapped element as a bit string type.
  
  @throws \UnexpectedValueException If the element is not a bit string
  @return \ASN1\Type\Primitive\BitString
docstring_tokens: Get the wrapped element as a bit string type .