Provides the std encoding base64 package.
Package: std.encoding.base64
Reachable from entry: no
const ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"Std.encoding.base64 Minimal Base64 (RFC 4648) utilities: toBase64(bytes) -> string fromBase64(string) -> bytes | void Notes: - fromBase64 ignores ASCII whitespace (space/tab/CR/LF). - returns void on invalid input.
Source: std/encoding/base64.ml:22
function fromBase64(text)Decoding: base64 string -> bytes (or void on error).
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
dynamic |
— | Text to process. |
Source: std/encoding/base64.ml:157
function toBase64(b)Encoding: bytes -> base64 string (with '=' padding).
| Parameter | Type | Default | Description |
|---|---|---|---|
b |
dynamic |
— | Second input value. |
Source: std/encoding/base64.ml:105