to_datauri: Convert file to 'base64' format

Description Usage Arguments Value

View source: R/strings.R

Description

Convert file to 'base64' format

Usage

1
to_datauri(file, mime = "")

Arguments

file

file path

mime

'mime' type, default is blank

Value

a 'base64' data string looks like 'data:;base64,AEF6986...'


dipsaus documentation built on Sept. 6, 2021, 5:08 p.m.