4D v14.3

BASE64 ENCODE

Home

 
4D v14.3
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

 
HISTORY 

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

 
SEE ALSO 

BASE64 DECODE
Overview of XML DOM Commands
XML DECODE

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : ENCODE ( 4D v11 SQL Release 6)