Convert UDP to initial value

Do you have more information on the packing algorithm that is used?