bech32.encode_output_length

Synopsis

local bech32 = require 'bech32'

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

Description

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