BECH32(3em)
π BECH32(3em) β the bech32 codec page, bestie π
okay so welcome to the bech32 manual page, section 3em β yes, that's the vibe, and yes, we're gonna get through it together π
β¨ NAME β¨
bech32 β bech32 codec
πΈ SYNOPSIS πΈ
local bech32 = require 'bech32'
bech32.bolt11_encode_output_length(hrp: string, input: byte_span|integer) -> integer
π DESCRIPTION π
Returns the size (in bytes) of the output of bolt11_encode().
That's the whole flex, bestie: you pass in hrp (a string) and input (a byte_span|integer), and this function gives you back an integer β specifically, the size in bytes of what bolt11_encode() produces. no cap, that's literally it β¨
mwah π β this page is from Emilua 0.12.1, dated 1980-01-01. periodt π«Ά
π¦ where this page comes from
- nixos 26.05: emilua-bech32 1.1.1
- nixpkgs unstable: emilua-bech32 1.1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms