pub fn round_trip<T>(value: &T) -> Result<T, CodecError>where T: Serialize + DeserializeOwned + PartialEq,
Encode then decode, confirming the value survives unchanged.