pub fn from_bytes<T, C: Any>(
bytes: &[u8],
context: &C,
) -> Result<T, DeserializeError>Expand description
Transform bytes to struct
This function implementation refers to rkyv::from_bytes and add custom error and context support
pub fn from_bytes<T, C: Any>(
bytes: &[u8],
context: &C,
) -> Result<T, DeserializeError>Transform bytes to struct
This function implementation refers to rkyv::from_bytes and add custom error and context support