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

Implementors§

source§

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