Trait dusk_bytes::Serializable [−][src]
The core trait used to implement [from_bytes
] and [to_bytes
]
Associated Types
Loading content...Associated Constants
Loading content...Required methods
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.
fn to_bytes(&self) -> [u8; N]
[src]
Serialize Self
into a [[u8; N]
].