Function bech32::segwit::encode_lower_to_fmt_unchecked
source · pub fn encode_lower_to_fmt_unchecked<W: Write>(
fmt: &mut W,
hrp: &Hrp,
witness_version: Fe32,
witness_program: &[u8]
) -> Result
Expand description
Encodes a segwit address to a writer (fmt::Write
) using lowercase characters.
Does not check the validity of the witness version and witness program lengths (see
the crate::primitives::segwit
module for validation functions).