Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Bech32Encoder

Bech32 encoder implementation for u8 spans

Fully qualified path: alexandria_encoding::bech32::Bech32Encoder

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

Impl functions

encode

Fully qualified path: alexandria_encoding::bech32::Bech32Encoder::encode

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