Read and write variable length integers where bytes are a MSB base 128 encoding of the number.