SvpPPolFromBytes

Trait SvpPPolFromBytes 

Source
pub trait SvpPPolFromBytes<B: Backend> {
    // Required method
    fn svp_ppol_from_bytes(
        &self,
        cols: usize,
        bytes: Vec<u8>,
    ) -> SvpPPolOwned<B>;
}
Expand description

Consume a vector of bytes into a crate::layouts::MatZnx. User must ensure that bytes is memory aligned and that it length is equal to [SvpPPolAllocBytes].

Required Methods§

Source

fn svp_ppol_from_bytes(&self, cols: usize, bytes: Vec<u8>) -> SvpPPolOwned<B>

Implementors§