Fixed int/long encoding