int2bytes bytes2int from char[] from char pointer