Function check_managed_top_encode_decode

Source
pub fn check_managed_top_encode_decode<V>(
    api: TxContext,
    element: V,
    expected_bytes: &[u8],
)
where V: TopEncode + TopDecode + PartialEq + Debug + 'static,
Expand description

Uses the managed types api to test encoding both ways.