pub fn deserialize_from_bytes<T: DeserializeOwned>(bytes: &[u8]) -> Result<T>
Deserialize data with error handling