bazelbuild/starlark

Provide a `base64` primitive

shs96c opened this issue · 2 comments

When calculating things like integrity hashes (used by recent Bazel releases), it's helpful to be able to base64 encode and decode values. Starlark does not offer a mechanism to do this natively, though it may be possible to write one in pure starlark. Having a native implementation would be significantly faster (as we saw with JSON processing)