Trait bech32::ByteIterExt

source ·
pub trait ByteIterExt: Sized + Iterator<Item = u8> {
    // Provided method
    fn bytes_to_fes(self) -> BytesToFes<Self>  { ... }
}
Expand description

Extension trait for byte iterators which provides an adaptor to GF32 elements.

Provided Methods§

source

fn bytes_to_fes(self) -> BytesToFes<Self>

Adapts the byte iterator to output GF32 field elements instead.

If the total number of bits is not a multiple of 5 we pad with 0s

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I> ByteIterExt for I
where I: Iterator<Item = u8>,