from_base64: Decode a Base64 encoded value to a string

View source: R/utils-html.R

from_base64R 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 NULLs. That is, from_base64(NULL) returns NULL.

Usage

from_base64(x)

Arguments

x

a Base64 string

Value

character

Examples

from_base64("eyJudW1iZXIiOjd9")

lambdr documentation built on Nov. 25, 2023, 5:08 p.m.