pub fn check_dep_encode<T: NestedEncode>(obj: &T) -> Vec<u8>
Expand description

Calls both the fast exit and the regular dep-encode, compares that the outputs are equal, then returns the result. To be used in serialization tests.