Previous - b64encode Section Home - Base64 Conversion Next - Database


b64decode ( )

Converts a base64 string into a binary string

Usage:

b64decode (object me, string b64String )

Parameters:

b64String (string) - base64 string should only contain these characters: 0-9, A-Z, a-z, + and /

Returns:

(string) - binary string.

Example:

xtRose = xtra("Rosetta").new( )
binString = xtRose.b64decode( "aGVsbG8gd29ybGQ" )

Notes:

 

See Also :

Please refer to working with binary strings for a detailed discussion on using binary strings in Director.


Previous - b64encode Section Home - Base64 Conversion Next - Database