Function bech32::segwit::encode_lower_to_writer_unchecked
source · pub fn encode_lower_to_writer_unchecked<W: Write>(
w: &mut W,
hrp: Hrp,
witness_version: Fe32,
witness_program: &[u8]
) -> Result<()>
Expand description
Encodes a segwit address to a writer (io::Write
) using lowercase characters.
There are no guarantees that the written string is a valid segwit address unless all the
parameters are valid. See the body of encode()
to see the validity checks required.