[−][src]Trait dusk_bytes::Serializable
The core trait used to implement [from_bytes] and [to_bytes]
Associated Types
Loading content...Associated Constants
Loading content...Required methods
pub fn from_bytes(buf: &[u8; N]) -> Result<Self, Self::Error> where
Self: Sized, [src]
Self: Sized,
Deserialize a [&[u8; N]] into Self, it might be fail.
pub fn to_bytes(&self) -> [u8; N][src]
Serialize Self into a [[u8; N]].