ENDECODE$ returns a BASE64 encoded or decoded document

Syntax

ENDECODE$(CodingType$, Document$)

Arguments

  • CodingType$ (a StrExp) can be:
    1. "BASE64ENCODE", encode in Base64 code;
    2. "BASE64ENCODE", decode from Bas64 code;
    3. "BASE64ENCODE", encode in Base64Binary code;
    4. "BASE64ENCODE", decode from Base64Binary code;
  • Document$ is the document that should be encoded or decoded.

Remarks

  1. Further information on Base64 encoding is available here
  2. Further information on Base64Binary encoding is available here 
  3. See also Wikipedia [BASE64]

Examples

ENDECODE$("BASE64ENCODE", "Qnowledge B.V")

returns

"UW5vd2xlZGdlIEIuVg=="


ENDECODE$("BASE64ENCODE", "UW5vd2xlZGdlIEIuVg==")

returns

"Qnowledge B.V."


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview


  • No labels