Function bech32::encode_to_fmt_anycase
source · pub fn encode_to_fmt_anycase<T: AsRef<[u5]>>(
fmt: &mut dyn Write,
hrp: Hrp,
data: T,
variant: Variant
) -> Result<Result, Error>
Expand description
Encode a bech32 payload to an fmt::Write, but with any case. This method is intended for implementing traits from core::fmt without std.
See encode_to_fmt
for meaning of errors.