pub fn encode_upper_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 std::io::Write writer using uppercase characters.

This is provided for use when creating QR codes.

Does not check the validity of the witness version and witness program lengths (see the crate::primitives::segwit module for validation functions).