VecZnxBigFromBytes

Trait VecZnxBigFromBytes 

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

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

Required Methods§

Source

fn vec_znx_big_from_bytes( &self, cols: usize, size: usize, bytes: Vec<u8>, ) -> VecZnxBigOwned<B>

Implementors§