pub fn from_bytes<'a, T>(b: &'a [u8]) -> Result<T> where
    T: Deserialize<'a>,