mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
0f5e1dcafd
* chore(deps): upgrade stardoc This uses the Bazel 7 'starlark_doc_extract' rule which our docsite expects for slurping data. * chore: stardoc setup in WORKSPACE too * chore: skip stardoc on bazel 6 in cases where the legacy extractor produces different docstrings
915 B
Generated
915 B
Generated
Utility functions for encoding and decoding strings with base64.
See https://en.wikipedia.org/wiki/Base64.
base64.decode
base64.decode(data)
Decode a base64 encoded string.
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.
PARAMETERS
Name | Description | Default Value |
---|---|---|
data | string to encode | none |
RETURNS
The base64-encoded string