pub fn try_from_bytes<T>(bytes: &[u8]) -> Result<T, Error> where
    T: Parameterize + Tokenizable