pub fn check_managed_top_decode<T: TopDecode + PartialEq + Debug>( bytes: &[u8], ) -> T
Uses the managed types api to test encoding. Can be used on any type, but managed types are especially relevant.