lib:base64 module
Experimental
The lib:base64 module encodes and decodes Base64, including the URL-safe variant.
| Property | Value |
|---|---|
| Namespace | lib |
| Source | src/lua/lib/base64.rs |
| Tests | tests/lib/base64.test.luau |
| Stability | Experimental |
| Mirror | RFC 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
- The module system — How
require("lib:base64")resolves. - The sandboxing model — How
lib:*modules fit into the engine. lib:*— Other modules in this namespace.