Function gear_wasm::elements::deserialize_buffer
source · pub fn deserialize_buffer<T: Deserialize>(
contents: &[u8]
) -> Result<T, T::Error>
Expand description
Deserialize deserializable type from buffer.
pub fn deserialize_buffer<T: Deserialize>(
contents: &[u8]
) -> Result<T, T::Error>
Deserialize deserializable type from buffer.