decode

Returns a valid ComparisonDifferenceType for data, null otherwise.