Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Bech32mEncoder

Bech32m encoder implementation for u8 spans

Fully qualified path: alexandria_encoding::bech32m::Bech32mEncoder

pub impl Bech32mEncoder of Encoder<Span<u8>>;

Impl functions

encode

Fully qualified path: alexandria_encoding::bech32m::Bech32mEncoder::encode

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