Function tea_sdk::deserialize

pub fn deserialize<T, B>(buf: B) -> Result<T, Global>where
    T: DeserializeOwned,
    B: AsRef<[u8]>,
Expand description

The standard function for de-serializing codec structs from a format suitable for message exchange between actor and host. Use of any other function to deserialize could result in breaking incompatibilities.