B64encode

This function encodes binary data stored in a BLOB (Binary Large Object) as a base 64 string. It returns the number of characters written to the string.

Syntax

LENGTH=B64Encode(SOURCE_BLOB, DEST_CLOB)

Example

# Write BLOB into a base 64 CLOBFunprog DECODE(SOURCE, DESTINATION)Const Blbfile SOURCEVariable ClbFile DESTINATIONLocal Integer II=B64Encode(SOURCE,DESTINATION)End I

See also

b64Decode, strEncode, strDecode