Strings Toolkit - base64decode


Function File: rval = base64decode (code)
Function File: rval = base64decode (code, as_string)

Convert a base64 code (a string of printable characters according to RFC 2045) into the original ASCII data set of range 0-255. If option as_string is passed, the return value is converted into a string. Otherwise, the return value is a uint8 row vector.

 
 base64decode ('SGFrdW5hIE1hdGF0YQ==', true)
   ⇒ Hakuna Matata
 
 

See: http://www.ietf.org/rfc/rfc2045.txt