from_base64 {lambdr} | R Documentation |
Decode a Base64 encoded value to a string
Description
Events coming via an API Gateway can have content with bodies encoded as Base64. This is especially true for HTML API Gateways (as opposed to REST API Gateways).
This function propagates NULL
s. That is, from_base64(NULL)
returns
NULL
.
Usage
from_base64(x)
Arguments
x |
a Base64 string |
Value
character
Examples
from_base64("eyJudW1iZXIiOjd9")
[Package lambdr version 1.2.5 Index]