public function bitString(): BitString
    {
        $last_octet_bits = $this->_width % 8;
        $unused_bits = $last_octet_bits ? 8 - $last_octet_bits : 0;
        return new BitString($this->_flags, $unused_bits);
    }
public function bitString(): BitString
    {
        $last_octet_bits = $this->_width % 8;
        $unused_bits = $last_octet_bits ? 8 - $last_octet_bits : 0;
        return new BitString($this->_flags, $unused_bits);
    }
public function bitString ( ) : BitString { $ last_octet_bits = $ this -> _width % 8 ; $ unused_bits = $ last_octet_bits ? 8 - $ last_octet_bits : 0 ; return new BitString ( $ this -> _flags , $ unused_bits ) ; }
Get flags as a BitString.
Unused bits are set accordingly. Trailing zeroes are not stripped.

@return BitString
Get flags as a BitString . Unused bits are set accordingly . Trailing zeroes are not stripped .