BECH32(3em)

πŸ“¦ version 1.1.1, in nixos 26.05, nixpkgs unstable

πŸŽ€ 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