original_string: final public function dataURI($as = null)
  	{
  		$mime = is_int($as) ? image_type_to_mime_type($as) : $this->_image_mime;
  		return 'data:' . $mime . ';base64,' . base64_encode($this->imageAsBinary($as));
  	}
code: final public function dataURI($as = null)
  	{
  		$mime = is_int($as) ? image_type_to_mime_type($as) : $this->_image_mime;
  		return 'data:' . $mime . ';base64,' . base64_encode($this->imageAsBinary($as));
  	}
code_tokens: final public function dataURI ( $ as = null ) { $ mime = is_int ( $ as ) ? image_type_to_mime_type ( $ as ) : $ this -> _image_mime ; return 'data:' . $ mime . ';base64,' . base64_encode ( $ this -> imageAsBinary ( $ as ) ) ; }
docstring: Converts image to a base64 encoded string
  
  @param void
  @return string   "data:image/*;base64,..."
docstring_tokens: Converts image to a base64 encoded string