Function breez_sdk_liquid::bitcoin::bech32::encode_without_checksum_to_fmt
pub fn encode_without_checksum_to_fmt<T>(
fmt: &mut dyn Write,
hrp: &str,
data: T,
) -> Result<Result<(), Error>, 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