How to use encoder_unwind_delta

i’m using conveyor tracking with incremental encoder
but at some point the count can reach (32 bits) 2147483647 and return to -2147483648 and now continue to decrease causing a disagreement

I found this function encoder_unwind_delta_tick_count() but I don’t understand how to use it
Could you help me with an example?