Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

encode

Encode data into Bech32 string Does not verify checksum; caller must ensure checksum is correct

Fully qualified path: alexandria_encoding::bech32::encode

pub fn encode(hrp: ByteArray, data: Span<u8>, checksum: Span<u8>) -> ByteArray