public function resize($size, $value = null){
		
		if($this->_ReadOnly){
			throw new ReadOnlyException(\get_called_class() . ' is read only');
		}
		
		if(!\is_int($size)){
			throw new \InvalidArgumentException('$size is not an int');
		}
		
		if($size < 0){
			throw new \OutOfBoundsException('$size cannot be less than 0');
		}
		
		$len = $this->count();
		
		if($size > $len){
			$this->_Arr = \array_pad($this->_Arr, $size, $value);
		}
		else if($size < $len){
			$this->_Arr = \array_slice($this->_Arr, 0, $size, false);
		}
		
		return $this;
		
	}