Skip to main content

wrap_payload

Function wrap_payload 

Source
pub fn wrap_payload(
    payload_bytes: &[u8],
    bit_count: usize,
) -> Result<String, Error>
Expand description

Wrap a v0.11 payload bit stream (byte-padded with exact bit_count) into a complete codex32 md1 string with HRP and BCH checksum, symbol-aligned.