pub fn from_slice<T: for<'a> Deserialize<'a> + StrongType>(
arg: &[u8],
) -> Result<T, String>Expand description
Function that deserializes the binary data into the requested structure with type safety checks.
pub fn from_slice<T: for<'a> Deserialize<'a> + StrongType>(
arg: &[u8],
) -> Result<T, String>Function that deserializes the binary data into the requested structure with type safety checks.