pub trait FromBytes {
fn from_bytes(context: &Context, bytes: &[u8]) -> Result<Self>
where
Self: Sized;
}
Expand description
A trait for converting data from a byte slice under a given SEAL context.
pub trait FromBytes {
fn from_bytes(context: &Context, bytes: &[u8]) -> Result<Self>
where
Self: Sized;
}
A trait for converting data from a byte slice under a given SEAL context.