protected function restrict()
	{
		$length = strlen($this->data);

		if ($length > 0)
		{
			$this->data[$length - 1] = chr(ord($this->data[$length - 1]) & self::$restrict[$this->size % 8]);
		}

		return $this;
	}
protected function restrict()
	{
		$length = strlen($this->data);

		if ($length > 0)
		{
			$this->data[$length - 1] = chr(ord($this->data[$length - 1]) & self::$restrict[$this->size % 8]);
		}

		return $this;
	}
protected function restrict ( ) { $ length = strlen ( $ this -> data ) ; if ( $ length > 0 ) { $ this -> data [ $ length - 1 ] = chr ( ord ( $ this -> data [ $ length - 1 ] ) & self :: $ restrict [ $ this -> size % 8 ] ) ; } return $ this ; }
Remove useless bits for simplifying count operation.

@return  BitArray  $this for chaining

@since   1.2.0
Remove useless bits for simplifying count operation .