util/codec: tiny refactor number codec.
util/codec: tiny refactor number codec.

c4pt0r/tidb,andelf/tidb,CodeRushing/tidb,anywhy/tidb,liyu4/tidb,pingcap/tidb,simon-xia/tidb,CodeRushing/tidb,ngaut/tidb,c4pt0r/tidb,JinheLin/tidb,wusphinx/tidb,liyu4/tidb,silenceper/tidb,coocood/tidb,ueizhou/tidb,XuHuaiyu/tidb,c4pt0r/tidb,coocood/tidb,ngaut/tidb,ueizhou/tidb,Cofyc/tidb,myrice/tidb,Nify/tidb,qiuyesuifeng/tidb,mccxj/tidb,qhsong/tidb,tiancaiamao/tidb,ngaut/tidb,wusphinx/tidb,ngaut/tidb,yangwenmai/tidb,astaxie/tidb,qhsong/tidb,yuanwhy/tidb,pingcap/tidb,EvilMcJerkface/tidb,ming-relax/tidb,zimulala/tidb,anywhy/tidb,EvilMcJerkface/tidb,kyle-wang/tidb,ming-relax/tidb,kyle-wang/tidb,tiancaiamao/tidb,pingcap/tidb,cosmtrek/tidb,pingcap/tidb,c4pt0r/tidb,yangwenmai/tidb,spongedu/tidb,pingcap/tidb,kyle-wang/tidb,silentred/tidb,kyle-wang/tidb,XuHuaiyu/tidb,qiuyesuifeng/tidb,8cbx/tidb,kyle-wang/tidb,astaxie/tidb,c4pt0r/tidb,gaocegege/tidb,8cbx/tidb,simon-xia/tidb,louishust/tidb,silentred/tidb,Cofyc/tidb,c4pt0r/tidb,myrice/tidb,yuanwhy/tidb,Nify/tidb,zs634134578/tidb,zs634134578/tidb,louishust/tidb,JinheLin/tidb,andelf/tidb,mccxj/tidb,cosmtrek/tidb,kyle-wang/tidb,gaocegege/tidb,zimulala/tidb,spongedu/tidb,ngaut/tidb,pingcap/tidb,silenceper/tidb,ngaut/tidb