bech32.segwit_encode_output_length

Synopsis

local bech32 = require 'bech32'

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

Description

Returns the size (in bytes) of the output of segwit_encode().