pub fn check_managed_top_encode_decode<V>( api: DebugApi, element: V, expected_bytes: &[u8] )where V: TopEncode + TopDecode + PartialEq + Debug + 'static,
Uses the managed types api to test encoding both ways.