bech32.bolt11_encode_output_length

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().