4D v13.4

BASE64 ENCODE

Home

 
4D v13.4
BASE64 ENCODE

BASE64 ENCODE 


 

BASE64 ENCODE ( blob {; encodedText} ) 
Parameter Type   Description
blob  BLOB in BLOB to encode in Base64 format
in BLOB encoded in Base64 format
encodedText  Text in Result of BLOB encoded in Base64 format

The BASE64 ENCODE command encodes the BLOB passed in the blob parameter in Base64 format.

If you pass the encodedText parameter, it receives the encoded contents of the blob as text at the end of command execution. In this case, the blob parameter itself is not modified by the command. 
If you omit the encodedText parameter, the command directly modifies the BLOB passed as a parameter.

Base64 encoding modifies 8-bit coded data so that they do not keep more than 7 useful bits. This encoding is required, for example, for handling BLOBs using XML.

 
PROPERTIES 

Product: 4D
Theme: Tools
Number: 895

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D 2004
Modified: 4D v12
Renamed: 4D v12

 
SEE ALSO 

BASE64 DECODE
Overview of XML DOM Commands
XML DECODE