Convert X into string of printable characters according to RFC 2045. The input may be a string or a matrix of integers in the range 0..255. If want the output in the 1-row of strings format, pass the do_reshape argument as true.
Example:
base64encode('Hakuna Matata',true) returns 'SGFrdW5hIE1hdGF0YQ=='