Move numbers encoders/decoders to separate files.
Allow decoding uint* to int* and vice versa.