[][src]Function bech32::encode_to_fmt

pub fn encode_to_fmt<T: AsRef<[u5]>>(
    fmt: &mut dyn Write,
    hrp: &str,
    data: T
) -> Result<Result, Error>

Encode a bech32 payload to an [fmt::Write]. This method is intended for implementing traits from [std::fmt].

Errors

Deviations from standard