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.
LENGTH=B64Encode(SOURCE_BLOB, DEST_CLOB)
SOURCE_BLOB
has type Blbfile
.DEST_CLOB
has type Clbfile
or Char
.LENGTH
has type Integer
.# Write BLOB into a base 64 CLOBFunprog DECODE(SOURCE, DESTINATION)Const Blbfile SOURCEVariable ClbFile DESTINATIONLocal Integer II=B64Encode(SOURCE,DESTINATION)End I
b64Decode, strEncode, strDecode