Parse integers in base 16