Skip to main content
Version: 1.24.x

base64

Public API

Macros and Functions

base64.decode

Decode a Base64 encoded string.

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

Example usage (generated):

load("@aspect_bazel_lib//lib:base64.bzl", "base64")

base64.decode(
# base64 encoded string
data = [],
)

data

Required.

base64 encoded string

base64.encode

Base64 encode a string.

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

Example usage (generated):

load("@aspect_bazel_lib//lib:base64.bzl", "base64")

base64.encode(
# string to encode
data = [],
)

data

Required.

string to encode