Home > freetb4matlab > strings > base64encode.m

base64encode

PURPOSE ^

% Convert X into string of printable characters according to RFC 2045.

SYNOPSIS ^

function Y = base64encode(X,do_reshape)

DESCRIPTION ^

% -*- 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}
%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003