Function try_deserailize

Source
pub fn try_deserailize<T>(data: &[u8]) -> Result<T>
where T: ZeroCopy,
Expand description

A workaround to deserialize “zero-copy” account data.

See anchort#2689 for more information.