working base 128 marshall/unmarshall for ints