added decode functions for int 16,32,64