Function bech32::encode_without_checksum_to_fmt
source · [−]pub fn encode_without_checksum_to_fmt<T: AsRef<[u5]>>(
fmt: &mut dyn Write,
hrp: &str,
data: T
) -> Result<Result, Error>
Expand description
Encode a bech32 payload without a checksum to an fmt::Write. This method is intended for implementing traits from std::fmt.
Errors
- If [check_hrp] returns an error for the given HRP.
Deviations from standard
- No length limits are enforced for the data part