bazel-lib/docs/base64.md

906 B

Public API

base64.decode

base64.decode(data)

Decode a Base64 encoded string.

See https://en.wikipedia.org/wiki/Base64.

PARAMETERS

Name Description Default Value
data base64 encoded string none

RETURNS

A string containing the decoded data

base64.encode

base64.encode(data)

Base64 encode a string.

See https://en.wikipedia.org/wiki/Base64.

PARAMETERS

Name Description Default Value
data string to encode none

RETURNS

The base64 encoded string