BECH32(3em)

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

okay so bestie, welcome to the BECH32(3em) manual β€” the bech32 codec page is short, but it's giving essential and iconic, so let's get into every lil detail together 🫢✨

πŸŽ€ NAME πŸŽ€

bech32 β€” bech32 codec. that's the name, that's the vibe, no cap πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

local bech32 = require 'bech32'

bech32.segwit_encode_output_length(hrp: string, input: byte_span|integer) -> integer

so you require 'bech32' into a local called bech32, then call bech32.segwit_encode_output_length(...) with hrp: string and input: byte_span|integer, and it hands you back an integer. slay πŸ’–

🌸 DESCRIPTION 🌸

Returns the size (in bytes) of the output of segwit_encode(). literally the whole description, bestie β€” it's the size in bytes of the output of segwit_encode(). periodt ✨


πŸ’– cute lil sign-off: this page is brought to you by Emilua 0.12.1, dated 1980-01-01. mwah πŸ’…

πŸ“¦ where this page comes from