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 Sat 16-May-2009 00:04:49 by m2html © 2003