Skip to content

lib:base64 module

Experimental

The lib:base64 module encodes and decodes Base64, including the URL-safe variant.

PropertyValue
Namespacelib
Sourcesrc/lua/lib/base64.rs
Teststests/lib/base64.test.luau
StabilityExperimental
MirrorRFC 4648

Syntax

lua
local base64 = require("lib:base64")

Description

WARNING

This reference page is a stub. The full Lua surface is captured in the module source listed above and exercised by the test file. A spec PR following the spec-driven development workflow will land the contracted surface here.

Until that lands, the source and tests are the contract.

See also