Currently, PDL allows to extract data as raw integers or enum.
Sometimes, the encoded data represent physical values. In such situation, once extracted, the raw value should be converted into a physical value. For example, a float or, more advanced, a timestamp.
Is there any solution to extend the generated struct with such conversions?
Or perhaps adding this directly in the PDL description?
Currently, PDL allows to extract data as raw integers or enum.
Sometimes, the encoded data represent physical values. In such situation, once extracted, the raw value should be converted into a physical value. For example, a float or, more advanced, a timestamp.
Is there any solution to extend the generated struct with such conversions?
Or perhaps adding this directly in the PDL description?