


% -*- texinfo -*-
% @deftypefn @var{Y} = {Function File} {} base64encode(@var{X})
% @deftypefnx @var{Y} = {Function File} {} base64encode(@var{X}, @var{do_reshape})
% 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
% @var{do_reshape} argument as true.
%
% Example:
% @example
% base64encode('Hakuna Matata',true)
% %%returns 'SGFrdW5hIE1hdGF0YQ=='
%
% @end example
% @end deftypefn
% @seealso{base64decode}
%