Base64 Functions and Properties
In this article
encode
Description | Encodes a string using Base64. This function is similar to the JavaScript base64 encode. |
---|---|
Syntax | Base64.encode() |
Example | Expression: Where $City contains a string. Result: |
decode
Description | Decodes a string using Base64. This function is similar to the JavaScript Base64 decode. |
---|---|
Syntax | Base64.decode() |
Example | Expression: Where $City contains an encoded string. Result: |
decodeAsBinary
Description | Decodes the Base64 encoded string and returns it as a byte array. |
---|---|
Syntax | Base64.decodeAsBinary() |
Example | Expression: Where $City contains an encoded string. Result: |
encodeAsBinary
Description | Encodes binary data and returns a Base64 string. |
---|---|
Syntax | Base64.encodeAsBinary() |
Example | Expression: Where $City contains the byte array Result: |
decodeGZip
Description | Unzips and decodes the Base64 string. |
---|---|
Syntax | Base64.decodeGZip() |
Example | Expression: Where $City is a GZipped Base64 string. Result:Â |
decodeGZipAsBinary
Description | Unzips and decodes the Base64 string as a byte array. |
---|---|
Syntax | Base64.decodeGZipAsBinary() |
Example | Expression: Where $City is a GZipped Base64 byte array. Result:Â |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.