Function bevy::asset::ron::de::from_bytes

source ·
pub fn from_bytes<'a, T>(s: &'a [u8]) -> Result<T, SpannedError>
where T: Deserialize<'a>,
Expand description

A convenience function for building a deserializer and deserializing a value of type T from bytes.