4D v16.3BASE64 ENCODE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
BASE64 ENCODE
|
BASE64 ENCODE ( blob {; encodedText} ) | ||||||||
Parameter | Type | Description | ||||||
blob | BLOB |
![]() |
BLOB to encode in Base64 format | |||||
![]() |
BLOB encoded in Base64 format | |||||||
encodedText | Text |
![]() |
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.
Product: 4D
Theme: Tools
Number:
895
Created: 4D 2004
Modified: 4D v12
Renamed: 4D v12
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)