BOTAN(3em)
π NAME π
Bestie, welcome to BOTAN(3em) β the page for botan, aka the Botan bindings for Emilua. Thatβs the whole name vibe: botan β Botan bindings for Emilua. Periodt.
β¨ SYNOPSIS β¨
Okay so first you load the module, then you get two base64_decode overloads. Here they are, exactly as they live:
local botan = require "botan"
botan.base64_decode(out_buffer: byte_span, input: byte_span|string, ignore_ws: boolean = true) -> byte_span (1)
botan.base64_decode(input: byte_span|string, ignore_ws: boolean = true) -> secure_byte_span (2)
The overloads are numbered (1) and (2) up there β thatβs not me being extra, thatβs literally how the page labels them. π«Ά
πΈ DESCRIPTION πΈ
This is the part where botan does base64 decoding. Slay. π
If you provide an out_buffer, it should have at least base64_decode_max_output(input) bytes. Thatβs the size check, bestie β donβt skip it.
Lowkey important: theout_bufferrule only kicks in if provided, and the bar is at leastbase64_decode_max_output(input)bytes. No cap. β¨
Cute sign-off time: this BOTAN(3em) page comes from Emilua 0.12.1 and is dated 1980-01-01. Byeee, go decode something iconic ππ
π¦ where this page comes from
- nixos 26.05: emilua-botan 1.2.1
- nixpkgs unstable: emilua-botan 1.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms